Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- libarch = case node[:kernel][:machine]
- when 'x86_64' then 'lib64'
- else 'lib'
- end
- template "/etc/nagios/nrpe.cfg" do
- source "nrpe.erb"
- mode "0644"
- owner "root"
- group "root"
- variables :libarch => libarch
- notifies :restart, resources(:service => "nrpe")
- end
Add Comment
Please, Sign In to add comment