summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/webapp.pp
blob: 932d6bb9eeeac7baf123e80d603a7b1371e4ff84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class site_check_mk::agent::webapp {

  # check webapp login
  package { [ 'python-srp', 'python-requests', 'python-yaml' ]:
    ensure => installed
  }
  file { '/usr/lib/check_mk_agent/local/nagios-webapp_login.py':
    ensure => link,
    target => '/srv/leap/webapp/test/nagios/webapp_login.py'
  }


  # check syslog
  concat::fragment { 'syslog_webapp':
    source  => 'puppet:///modules/site_check_mk/agent/logwatch/syslog/webapp.cfg',
    target  => '/etc/check_mk/logwatch.d/syslog.cfg',
    order   => '02';
  }

}