summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-25 12:52:23 +0100
committervarac <varacanero@zeromail.org>2014-02-25 12:52:23 +0100
commit59440389ebc20bdd5e0e53fbeaaaab40e01c6fd5 (patch)
treec77bb356dd1b6182ddbbe3814d0a67cad7b0a701 /puppet/modules/site_check_mk/manifests/agent/logwatch.pp
parent70d65dd47f8d696764a8e33bd0cd77a3f5ead1e1 (diff)
parent6bb879a46c754958d07b530cf62d69a01537ccba (diff)
Merge branch 'rb152_logwatch_reviewed' into 0.6
Diffstat (limited to 'puppet/modules/site_check_mk/manifests/agent/logwatch.pp')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/logwatch.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/logwatch.pp b/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
new file mode 100644
index 00000000..67db5a12
--- /dev/null
+++ b/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
@@ -0,0 +1,15 @@
+class site_check_mk::agent::logwatch {
+ # Deploy mk_logwatch 1.2.4 so we can split the config
+ # into multiple config files in /etc/check_mk/logwatch.d
+ # see https://leap.se/code/issues/5135
+
+ file { '/usr/lib/check_mk_agent/plugins/mk_logwatch':
+ source => 'puppet:///modules/site_check_mk/agent/plugins/mk_logwatch.1.2.4',
+ mode => '0755'
+ }
+
+ file { '/etc/check_mk/logwatch.d':
+ ensure => directory
+ }
+
+}