diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-07 22:16:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-07 22:16:52 -0300 |
commit | 340b703801c3e58ba9f7f211f131f0d5ae068388 (patch) | |
tree | 63eedfa8278aeda6f2d5b40a6e93e2b561324fa8 | |
parent | 23ac2312b4edea43cc1266898bfa787e787dbbcc (diff) | |
download | puppet-rsyslog-340b703801c3e58ba9f7f211f131f0d5ae068388.tar.gz puppet-rsyslog-340b703801c3e58ba9f7f211f131f0d5ae068388.tar.bz2 |
Restart rsyslog after fixing the symlink
-rw-r--r-- | manifests/init.pp | 7 |
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, } } |