X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmonit%2Ftemplates%2Fdefault.erb;h=15a0ba07c41b9623ec4ba591aee53c6d5eae5ab8;hb=47e85ae8925d80c78310477e3536cbff6401fd86;hp=0e32b993f5775e13cad2e5d5c34e99f4649b648c;hpb=8e73e0dd2328a86a5ae57d10bf00b40ccc394fc0;p=mirror%2Fdsa-puppet.git diff --git a/modules/monit/templates/default.erb b/modules/monit/templates/default.erb index 0e32b993f..15a0ba07c 100644 --- a/modules/monit/templates/default.erb +++ b/modules/monit/templates/default.erb @@ -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.