]> gitweb.fluxo.info Git - puppet-rsyslog.git/commitdiff
Make sure rsyslog is enabled
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 01:12:02 +0000 (22:12 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 01:12:02 +0000 (22:12 -0300)
manifests/init.pp

index c80bea0fa9b1003c9f47b136d0ca4d2575b74333..8aa7a39763b45e9ae265d6097f04383f5241c223 100644 (file)
@@ -18,4 +18,14 @@ class rsyslog {
     require => Package['rsyslog'],
     notify  => Service['rsyslog'],
   }
+
+  # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741496
+  file { '/etc/systemd/system/syslog.service':
+    force   => true,
+    ensure  => '/lib/systemd/system/rsyslog.service',
+    owner   => 'root',
+    group   => 'root',
+    require => Package['rsyslog'],
+    notify  => Service['rsyslog'],
+  }
 }