dos2unix
[mirror/dsa-puppet.git] / modules / monit / templates / monitrc.erb
index 727e3ae..41cff16 100644 (file)
@@ -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 %>
 #