summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c80bea0..8aa7a39 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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'],
+ }
}