From: Peter Palfrader Date: Mon, 21 Jun 2010 16:56:41 +0000 (+0200) Subject: disabling monit by moving S99 to K99monit with samhain really sucks since Debian... X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c20773059b2aadcfbe11e4ebb03d6fe66b0662ae;hp=f9805d85bc6c2068615d1931d223d67bd275e173;p=dsa-puppet.git disabling monit by moving S99 to K99monit with samhain really sucks since Debian reorders them every time, so puppet puts it back and samhain complains. Disable monit startup via etc/default/monit --- diff --git a/modules/monit/manifests/init.pp b/modules/monit/manifests/init.pp index 1fcbf898..06f71a0a 100644 --- a/modules/monit/manifests/init.pp +++ b/modules/monit/manifests/init.pp @@ -13,11 +13,10 @@ class monit { file { - "/etc/rc2.d/K99monit": - ensure => "../init.d/monit"; - - "/etc/rc2.d/S99monit": - ensure => absent; + #"/etc/rc2.d/K99monit": + # ensure => "../init.d/monit"; + #"/etc/rc2.d/S99monit": + # ensure => absent; "/etc/monit/": ensure => directory, diff --git a/modules/monit/templates/default.erb b/modules/monit/templates/default.erb index 95ec992e..10ce8b81 100644 --- a/modules/monit/templates/default.erb +++ b/modules/monit/templates/default.erb @@ -9,7 +9,7 @@ # Fredrik Steen # You must set this variable to for monit to start -startup=1 +startup=0 <% if nodeinfo.has_key?('squeeze') and not nodeinfo['squeeze'].empty? %> <% else %>