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