From 4827958dda15705ac1eeb5eacc7e694a92bb7a5d Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 28 Apr 2011 17:43:49 -0400 Subject: add configuration variable to irc bot to enable IRC notice type messages which can be turned on by the puppet variable $nagios_nsa_usenotices --- manifests/irc_bot.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests') diff --git a/manifests/irc_bot.pp b/manifests/irc_bot.pp index 31d7add..130f46f 100644 --- a/manifests/irc_bot.pp +++ b/manifests/irc_bot.pp @@ -30,6 +30,10 @@ class nagios::irc_bot { $nagios_nsa_password = '' } + if (! $nagios_nsa_usenotices) { + $nagios_nsa_usenotices = '' + } + file { "/usr/local/bin/riseup-nagios-client.pl": owner => root, group => root, mode => 0755, source => "puppet:///modules/nagios/irc_bot/riseup-nagios-client.pl", -- cgit v1.2.3