summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-03-05 16:08:41 +0100
committervarac <varacanero@zeromail.org>2014-03-05 16:08:41 +0100
commit8bf1fa304a047fd74538345d1ffa5c2c4312dd55 (patch)
treeb064148a1cb95eb4b0554ebd1c712de2f7c8436e /puppet/modules/site_check_mk
parentdfe2800b2264b4f2088d488d718ce72e39d2d15f (diff)
use the right package dependencies for site_check_mk::agent class and subclasses
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/logwatch.pp4
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/mrpe.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/logwatch.pp b/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
index 4c249e6f..423cace2 100644
--- a/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/logwatch.pp
@@ -6,7 +6,7 @@ class site_check_mk::agent::logwatch {
file { '/usr/lib/check_mk_agent/plugins/mk_logwatch':
source => 'puppet:///modules/site_check_mk/agent/plugins/mk_logwatch.1.2.4',
mode => '0755',
- require => Package['check-mk-agent']
+ require => Package['check-mk-agent-logwatch']
}
# only config files that watch a distinct logfile should go in logwatch.d/
@@ -14,7 +14,7 @@ class site_check_mk::agent::logwatch {
ensure => directory,
recurse => true,
purge => true,
- require => Package['check-mk-server']
+ require => Package['check-mk-agent-logwatch']
}
# service that share a common logfile (i.e. /var/log/syslog) need to get
diff --git a/puppet/modules/site_check_mk/manifests/agent/mrpe.pp b/puppet/modules/site_check_mk/manifests/agent/mrpe.pp
index 7222e4e1..6921574f 100644
--- a/puppet/modules/site_check_mk/manifests/agent/mrpe.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/mrpe.pp
@@ -9,7 +9,7 @@ class site_check_mk::agent::mrpe {
file { '/etc/check_mk/mrpe.cfg':
ensure => present,
- require => Package['check-mk-server']
+ require => Package['check-mk-agent']
} ->
file_line { 'Apt':
line => 'APT /usr/lib/nagios/plugins/check_apt',