summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
blob: 67db5a12abf24bc12662a19f12c13e0ad009ea75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
  }

}