bad git
[mirror/dsa-puppet.git] / modules / monit / templates / default.erb
index d89d326..15a0ba0 100644 (file)
@@ -9,9 +9,9 @@
 # Fredrik Steen <stone@debian.org>
 
 # You must set this variable to for monit to start
-startup=1
-<% if nodeinfo.has_key?('squeeze') and not nodeinfo['squeeze'].empty? %>
-<% else %>
+startup=0
+
+<% unless (nodeinfo.has_key?('squeeze') and nodeinfo['squeeze']) or (nodeinfo.has_key?('wheezy') and nodeinfo['wheezy']) %>
 
 # To change the intervals which monit should run uncomment
 # and change this variable.