X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmonit%2Ftemplates%2Fdefault.erb;h=15a0ba07c41b9623ec4ba591aee53c6d5eae5ab8;hb=47e85ae8925d80c78310477e3536cbff6401fd86;hp=10ce8b813428610e298865160b8bbc742d1df84c;hpb=e24412c3b1c473f30d9ceb3c213145c49be20a6d;p=mirror%2Fdsa-puppet.git diff --git a/modules/monit/templates/default.erb b/modules/monit/templates/default.erb index 10ce8b813..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 not nodeinfo['squeeze'].empty? %> -<% 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.