From e2dbf51aaae246e3b8e5d07c01cacac2ed4477ee Mon Sep 17 00:00:00 2001 From: Keith Burdis Date: Thu, 7 Feb 2013 18:42:07 +0000 Subject: Ensure check_mk-agent is installed before check_mk-agent-logwatch to avoid a dependency error. --- manifests/agent.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests/agent.pp') 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" -- cgit v1.2.3