Skip to content

Instantly share code, notes, and snippets.

@skottler skottler/client.pp
Created Apr 25, 2012

Embed
What would you like to do?
class nagios::client {
file { "$nrpedir/nrpe.cfg":
owner => $nrpeuser,
group => $nrpegroup,
mode => 644,
content => template("nagios/nrpe.cfg.erb")
}
}
<% if has_variable?("allowed_hosts") then %>
allowed_hosts=<%= allowed_hosts.join(",") %>
<% else %>
allowed_hosts=127.0.0.1
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.