summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-03 17:18:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-03 17:18:21 -0200
commit6738873a9e7443c071e643a14a4f0689683a74f6 (patch)
treea043c48442938af92f71fa562274754c1fa5ce7a
parentfe0aacc464ef7797a9d91fc565ce579d501417cb (diff)
downloadpuppet-syslog-ng-6738873a9e7443c071e643a14a4f0689683a74f6.tar.gz
puppet-syslog-ng-6738873a9e7443c071e643a14a4f0689683a74f6.tar.bz2
Ubuntu workaround (2)
-rw-r--r--manifests/init.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e8c114b..b29cf44 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,12 +19,16 @@
class syslog-ng(
$log_kernel_msgs = true
) {
- # the needed packages
# see https://bugs.launchpad.net/ubuntu/+source/syslog-ng/+bug/1242173
- package { [ 'syslog-ng-core', 'syslog-ng' ]:
+ package { 'syslog-ng-core':
ensure => installed,
}
+ package { 'syslog-ng':
+ ensure => installed,
+ require => Package['syslog-ng-core'],
+ }
+
# syslog-ng service
service { "syslog-ng":
enable => true,