]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/nagios/templates/nrpe.cfg.erb
probably break a couple of release dependent templates
[dsa-puppet.git] / modules / nagios / templates / nrpe.cfg.erb
index 67edbb307ae5a0726c739601325ffeed79cd24df..97a1d9b8af73875cccd4b38e755408c89a5288ce 100644 (file)
@@ -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.
 
-<% if (nodeinfo.has_key?('squeeze') and nodeinfo['squeeze']) or (nodeinfo.has_key?('wheezy') and nodeinfo['wheezy']) %>
+<% unless lsbdistcodename == 'lenny' %>
 pid_file=/var/run/nagios/nrpe.pid
 <% else %>
 pid_file=/var/run/nrpe.pid