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