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