From c20773059b2aadcfbe11e4ebb03d6fe66b0662ae Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 21 Jun 2010 18:56:41 +0200 Subject: [PATCH 1/1] 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 --- modules/monit/manifests/init.pp | 9 ++++----- modules/monit/templates/default.erb | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) 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 %> -- 2.39.2