From f30b3d7bb7ecca4d736765af55524be3a285607e Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 16 Feb 2015 17:47:59 +0100 Subject: [PATCH] xymon::client::preconfig : Correct missing argument for the exec ressource. --- manifests/client/preconfig.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/client/preconfig.pp b/manifests/client/preconfig.pp index e67b938..dec7df8 100644 --- a/manifests/client/preconfig.pp +++ b/manifests/client/preconfig.pp @@ -34,8 +34,10 @@ class xymon::client::preconfig { } exec { 'Create download directory for Xymon client package': - command => "mkdir -p -- ${xymon::client::download_dir}", - creates => $xymon::client::download_dir, + path => [ '/bin', '/sbin', '/usr/bin', '/usr/sbin' ], + command => "mkdir -p -- ${xymon::client::download_dir}", + creates => $xymon::client::download_dir, + logoutput => 'on_failure', } } # Private class: xymon::client::preconfig