From 388b8bb30d35454f2467805f37571af74c83b939 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Thu, 14 Jul 2011 02:05:26 -0400 Subject: Add a dependency between the IRC bot config and service When we modify the config file, we'd like for the service to restart in order for it to use the new configuration. --- manifests/irc_bot.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests') diff --git a/manifests/irc_bot.pp b/manifests/irc_bot.pp index 8f9b62d..04bed58 100644 --- a/manifests/irc_bot.pp +++ b/manifests/irc_bot.pp @@ -47,6 +47,7 @@ class nagios::irc_bot { ensure => present, owner => nagios, group => root, mode => 0400, content => template('nagios/irc_bot/nsa.cfg.erb'), + notify => Service["nagios-nsa"], } package { "libnet-irc-perl": -- cgit v1.2.3