summaryrefslogtreecommitdiff
path: root/manifests/irc_bot
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-23 11:18:34 -0500
committerMicah Anderson <micah@riseup.net>2013-01-23 11:18:34 -0500
commit7c87e747774433d84bc59641bbd8bcc7cc4ab58e (patch)
tree632db4262f616dc3027bffdf54536036e11bf8fd /manifests/irc_bot
parentee2489089aa4e678ddc488933f26bb4396dad7b9 (diff)
be sure to notify the service after the configuration file has changed
Diffstat (limited to 'manifests/irc_bot')
-rw-r--r--manifests/irc_bot/base.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/irc_bot/base.pp b/manifests/irc_bot/base.pp
index 003e4f3..89a11d7 100644
--- a/manifests/irc_bot/base.pp
+++ b/manifests/irc_bot/base.pp
@@ -16,7 +16,8 @@ class nagios::irc_bot::base {
'/etc/nagios_nsa.cfg':
ensure => present,
content => template('nagios/irc_bot/nsa.cfg.erb'),
- owner => nagios, group => root, mode => 0400;
+ owner => nagios, group => 0, mode => '0400',
+ notify => Service['nagios-nsa'];
}
package { 'libnet-irc-perl':