projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add zemlinsky
[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
85ce99a
..
97a1d9b
100644
(file)
--- a/
modules/nagios/templates/nrpe.cfg.erb
+++ b/
modules/nagios/templates/nrpe.cfg.erb
@@
-27,7
+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']
%>
+<%
unless lsbdistcodename == 'lenny'
%>
pid_file=/var/run/nagios/nrpe.pid
<% else %>
pid_file=/var/run/nrpe.pid
pid_file=/var/run/nagios/nrpe.pid
<% else %>
pid_file=/var/run/nrpe.pid