diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 03:45:18 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 03:45:18 -0400 |
commit | e64f3a2fcc19bf6da3f81807531df740c3930657 (patch) | |
tree | 57dea50d69f3ad7d3f4161eedcfa22035d6eaf2e /manifests/irc_bot | |
parent | 388b8bb30d35454f2467805f37571af74c83b939 (diff) |
IRC bot: add a 'disabled' class
For when you need to ensure that the bot doesn't start on a server.
Diffstat (limited to 'manifests/irc_bot')
-rw-r--r-- | manifests/irc_bot/disabled.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/irc_bot/disabled.pp b/manifests/irc_bot/disabled.pp new file mode 100644 index 0000000..812ef94 --- /dev/null +++ b/manifests/irc_bot/disabled.pp @@ -0,0 +1,5 @@ +class nagios::irc_bot::disabled inherits nagios::irc_bot { + Service['nagios-nsa'] { + ensure => stopped, + } +} |