X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fnagios%2Ftemplates%2Fnrpe.cfg.erb;h=97a1d9b8af73875cccd4b38e755408c89a5288ce;hb=d32e0db21b3189bc85385eb4a7af1835bd3769a9;hp=67edbb307ae5a0726c739601325ffeed79cd24df;hpb=47e85ae8925d80c78310477e3536cbff6401fd86;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/templates/nrpe.cfg.erb b/modules/nagios/templates/nrpe.cfg.erb index 67edbb307..97a1d9b8a 100644 --- 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. -<% 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