diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 05:01:09 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 05:01:09 -0400 |
commit | cde75b06b4484f705218c2ef28d49ff545d75f84 (patch) | |
tree | f9a4903fe2bcc83fb52299fcc8caf60471772955 /manifests/irc_bot | |
parent | e64f3a2fcc19bf6da3f81807531df740c3930657 (diff) |
IRC-bot: use 'enable' for Debian
Since the service "disable" bug was fixed in the debian service provider
[1] in the puppet 2.6.2-5 package in squeeze, let's switch from the
manual calls to the "enable" feature.
[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573551
Also add a requirement between service[nagios-nsa] and
file[/etc/init.d/nagios-nsa]. This was ensured in Debian with the exec
that we're now replacing but didn't find its way through the
centosification.
Diffstat (limited to 'manifests/irc_bot')
-rw-r--r-- | manifests/irc_bot/disabled.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/irc_bot/disabled.pp b/manifests/irc_bot/disabled.pp index 812ef94..83ff15a 100644 --- a/manifests/irc_bot/disabled.pp +++ b/manifests/irc_bot/disabled.pp @@ -1,5 +1,6 @@ class nagios::irc_bot::disabled inherits nagios::irc_bot { Service['nagios-nsa'] { ensure => stopped, + enable => false, } } |