some more squeeze + wheezy fixups
[mirror/dsa-puppet.git] / modules / monit / templates / default.erb
index 0e32b99..15a0ba0 100644 (file)
@@ -11,8 +11,7 @@
 # You must set this variable to for monit to start
 startup=0
 
-<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %>
-<% else %>
+<% 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.