summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8aa7a39..902182e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -26,6 +26,11 @@ class rsyslog {
owner => 'root',
group => 'root',
require => Package['rsyslog'],
- notify => Service['rsyslog'],
+ notify => Exec['restart-rsyslog'],
+ }
+
+ exec { 'restart-rsyslog':
+ command => '/usr/sbin/service rsyslog restart',
+ refreshonly => true,
}
}