summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-07 22:12:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-07 22:12:02 -0300
commit23ac2312b4edea43cc1266898bfa787e787dbbcc (patch)
tree435bdac94e9ebe2120778d40eb632e6af835da9a
parent8efc3beb7a225c96555d69821d13878cba60ef9a (diff)
downloadpuppet-rsyslog-23ac2312b4edea43cc1266898bfa787e787dbbcc.tar.gz
puppet-rsyslog-23ac2312b4edea43cc1266898bfa787e787dbbcc.tar.bz2
Make sure rsyslog is enabled
-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'],
+ }
}