summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorKeith Burdis <keith@burdis.org>2013-02-07 18:42:07 +0000
committerKeith Burdis <keith@burdis.org>2013-02-07 18:42:07 +0000
commite2dbf51aaae246e3b8e5d07c01cacac2ed4477ee (patch)
treeb445234e1d33ee5342e4c085bb67d9b4be51a275 /manifests
parent692c4471f9625a32c11caf15e2dfd5f7359a088a (diff)
Ensure check_mk-agent is installed before check_mk-agent-logwatch to avoid a dependency error.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/agent.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/agent.pp b/manifests/agent.pp
index 7deece1..2ce6bb8 100644
--- a/manifests/agent.pp
+++ b/manifests/agent.pp
@@ -38,7 +38,10 @@ class check_mk::agent (
ensure => present,
provider => 'rpm',
source => "${workspace}/check_mk-agent-logwatch-${version}.noarch.rpm",
- require => File["${workspace}/check_mk-agent-logwatch-${version}.noarch.rpm"],
+ require => [
+ File["${workspace}/check_mk-agent-logwatch-${version}.noarch.rpm"],
+ Package['check_mk-agent'],
+ ],
}
if $use_cache {
$server = "${server_dir}/check_mk_caching_agent"