diff options
author | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 02:05:26 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2011-07-14 02:05:26 -0400 |
commit | 388b8bb30d35454f2467805f37571af74c83b939 (patch) | |
tree | 870233db1f39f83e42e246e5c22357e41df05564 /manifests | |
parent | 3567924a0365c6241053cb6f244da5ac453b14ba (diff) |
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.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/irc_bot.pp | 1 |
1 files changed, 1 insertions, 0 deletions
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": |