summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-19 15:14:04 +0100
committervarac <varacanero@zeromail.org>2014-02-19 15:16:14 +0100
commit6007c2e5b8556460471d4cae9206a950dd184fec (patch)
treee5b6179e0b0ee48ab0dabf1185f242da379e4cf0 /puppet/modules/site_check_mk/manifests
parent91bee3e81439cca0536856094edc7ceee7da60ff (diff)
added mk_logwatch.1.2.4 (#5135)
Diffstat (limited to 'puppet/modules/site_check_mk/manifests')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent.pp1
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/logwatch.pp11
2 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent.pp b/puppet/modules/site_check_mk/manifests/agent.pp
index 75188c7b..a29923c1 100644
--- a/puppet/modules/site_check_mk/manifests/agent.pp
+++ b/puppet/modules/site_check_mk/manifests/agent.pp
@@ -15,4 +15,5 @@ class site_check_mk::agent {
}
include site_check_mk::agent::mrpe
+ include site_check_mk::agent::logwatch
}
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..763b01a7
--- /dev/null
+++ b/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
@@ -0,0 +1,11 @@
+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'
+ }
+
+}