diff options
author | Keith Burdis <keith@burdis.org> | 2013-02-07 18:42:07 +0000 |
---|---|---|
committer | Keith Burdis <keith@burdis.org> | 2013-02-07 18:42:07 +0000 |
commit | e2dbf51aaae246e3b8e5d07c01cacac2ed4477ee (patch) | |
tree | b445234e1d33ee5342e4c085bb67d9b4be51a275 /manifests/agent.pp | |
parent | 692c4471f9625a32c11caf15e2dfd5f7359a088a (diff) |
Ensure check_mk-agent is installed before check_mk-agent-logwatch to avoid a dependency error.
Diffstat (limited to 'manifests/agent.pp')
-rw-r--r-- | manifests/agent.pp | 5 |
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" |