projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix whitespace and hyphen
[mirror/dsa-puppet.git]
/
modules
/
nagios
/
templates
/
nrpe.cfg.erb
diff --git
a/modules/nagios/templates/nrpe.cfg.erb
b/modules/nagios/templates/nrpe.cfg.erb
index
67edbb3
..
f740aa6
100644
(file)
--- a/
modules/nagios/templates/nrpe.cfg.erb
+++ b/
modules/nagios/templates/nrpe.cfg.erb
@@
-27,11
+27,7
@@
log_facility=daemon
# number. The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.
# number. The file is only written if the NRPE daemon is started by the root
# user and is running in standalone mode.
-<% if (nodeinfo.has_key?('squeeze') and nodeinfo['squeeze']) or (nodeinfo.has_key?('wheezy') and nodeinfo['wheezy']) %>
pid_file=/var/run/nagios/nrpe.pid
pid_file=/var/run/nagios/nrpe.pid
-<% else %>
-pid_file=/var/run/nrpe.pid
-<% end %>
# PORT NUMBER
# PORT NUMBER