]> gitweb.fluxo.info Git - puppet-syslog-ng.git/commitdiff
Adding hasstatus and pattern to service
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 19:33:57 +0000 (17:33 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Jan 2013 19:33:57 +0000 (17:33 -0200)
manifests/init.pp

index 1406d12ccfd05510de5359f9a8c4708f9b2ae17c..740713d76c6ff5ae128fa07c98ec5452db26a5ef 100644 (file)
@@ -27,6 +27,8 @@ class syslog-ng(
     enable     => true,
     ensure     => running,
     hasrestart => true,
+    hasstatus  => false,
+    pattern    => '/usr/sbin/syslog-ng',
     require    => File["/etc/syslog-ng/syslog-ng.conf"],
   }