X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmonit%2Ftemplates%2Fmonitrc.erb;h=41cff1650b26ec895d150fb810f10522d614c0c1;hb=eb29e4090dda2ad1ba9b2bfabad282ebc6b99df0;hp=727e3aec965c7a99697c5ad5a2cfde373d7f9cd9;hpb=23f10c8e359298d717decf0da12ec3d6b1907c1f;p=mirror%2Fdsa-puppet.git diff --git a/modules/monit/templates/monitrc.erb b/modules/monit/templates/monitrc.erb index 727e3aec9..41cff1650 100644 --- a/modules/monit/templates/monitrc.erb +++ b/modules/monit/templates/monitrc.erb @@ -21,7 +21,7 @@ ## Start monit in the background (run as a daemon) and check services at ## 2-minute intervals. # -<% if (nodeinfo.has_key?('squeeze') and nodeinfo['squeeze']) or (nodeinfo.has_key?('wheezy') and nodeinfo['wheezy']) %> +<% unless lsbdistcodename == 'lenny' %> set daemon 300 <% end %> #