From e64f3a2fcc19bf6da3f81807531df740c3930657 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Thu, 14 Jul 2011 03:45:18 -0400 Subject: IRC bot: add a 'disabled' class For when you need to ensure that the bot doesn't start on a server. --- manifests/irc_bot/disabled.pp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 manifests/irc_bot/disabled.pp (limited to 'manifests/irc_bot/disabled.pp') 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, + } +} -- cgit v1.2.3