X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Ftemplates%2Fnrpe.cfg.erb;h=97a1d9b8af73875cccd4b38e755408c89a5288ce;hb=d32e0db21b3189bc85385eb4a7af1835bd3769a9;hp=85ce99a19dd369a86029668d763c17e1b208bbc1;hpb=2b250a87dc0765e27bd693b7d5abcd14d50bc543;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/templates/nrpe.cfg.erb b/modules/nagios/templates/nrpe.cfg.erb index 85ce99a19..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'] %> +<% unless lsbdistcodename == 'lenny' %> pid_file=/var/run/nagios/nrpe.pid <% else %> pid_file=/var/run/nrpe.pid