diff options
author | kwadronaut <kwadronaut@leap.se> | 2018-11-14 11:09:02 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2018-11-14 11:09:02 +0100 |
commit | 06b521b6887d33b4cfa650c0d26850c8d1cc0ef8 (patch) | |
tree | caa0bac49dfd2573462acef06b68d2ea69d8cdb8 /example/site_check_mk/manifests/agent/logwatch | |
parent | 6ffee2d778992b783bd29a1ddeaab61baf6d47aa (diff) | |
parent | 15aba17d007e076ea09e50c837081ee1bec1b301 (diff) |
Diffstat (limited to 'example/site_check_mk/manifests/agent/logwatch')
-rw-r--r-- | example/site_check_mk/manifests/agent/logwatch/syslog.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/example/site_check_mk/manifests/agent/logwatch/syslog.pp b/example/site_check_mk/manifests/agent/logwatch/syslog.pp new file mode 100644 index 0000000..c927780 --- /dev/null +++ b/example/site_check_mk/manifests/agent/logwatch/syslog.pp @@ -0,0 +1,18 @@ +class site_check_mk::agent::logwatch::syslog { + + concat { '/etc/check_mk/logwatch.d/syslog.cfg': + warn => true + } + + concat::fragment { 'syslog_header': + source => 'puppet:///modules/site_check_mk/agent/logwatch/syslog_header.cfg', + target => '/etc/check_mk/logwatch.d/syslog.cfg', + order => '01'; + } + concat::fragment { 'syslog_tail': + source => 'puppet:///modules/site_check_mk/agent/logwatch/syslog_tail.cfg', + target => '/etc/check_mk/logwatch.d/syslog.cfg', + order => '99'; + } + +} |