summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/couchdb.pp
blob: c954292aaa8cb72569c1133a2a362849ac0c4926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class site_check_mk::agent::couchdb {

  file { '/etc/check_mk/logwatch.d/couchdb.cfg':
    source => 'puppet:///modules/site_check_mk/agent/logwatch/couchdb.cfg',
  }


  # local custom checks
  file { '/usr/lib/check_mk_agent/local/check_bigcouch_errors.sh':
    ensure  => link,
    target  => '/srv/leap/couchdb/scripts/tests/check_bigcouch_errors.sh',
    require => Vcsrepo['/srv/leap/couchdb/scripts']
  }

}