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