Guest User

Untitled

a guest
Apr 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. libarch = case node[:kernel][:machine]
  2. when 'x86_64' then 'lib64'
  3. else 'lib'
  4. end
  5.  
  6. template "/etc/nagios/nrpe.cfg" do
  7. source "nrpe.erb"
  8. mode "0644"
  9. owner "root"
  10. group "root"
  11. variables :libarch => libarch
  12. notifies :restart, resources(:service => "nrpe")
  13. end
Add Comment
Please, Sign In to add comment