]> gitweb.fluxo.info Git - puppet-rsyslog.git/commitdiff
Restart rsyslog after fixing the symlink
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 01:16:52 +0000 (22:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 01:16:52 +0000 (22:16 -0300)
manifests/init.pp

index 8aa7a39763b45e9ae265d6097f04383f5241c223..902182e3228cb0028694eb5ffb0a18222b0837c1 100644 (file)
@@ -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,
   }
 }