summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-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',