summaryrefslogtreecommitdiff
path: root/example/site_check_mk/manifests/agent/logwatch/syslog.pp
blob: c927780df8d66686d86592447b427496717ef510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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';
  }

}