From be5f31a3afb6084f803633b5f2d31681db11cc65 Mon Sep 17 00:00:00 2001 From: John Kinsella Date: Wed, 22 Feb 2012 10:41:04 -0800 Subject: Prepended cp and rm commands with /bin. This stops errors like "is not qualified and no path was specified. Please qualify the command or specify a path." --- manifests/client.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/client.pp') diff --git a/manifests/client.pp b/manifests/client.pp index 82e498a..fd94796 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -119,7 +119,7 @@ define openvpn::client($server, $remote_host = $fqdn) { exec { "tar the thing ${server} with ${name}": cwd => "/etc/openvpn/${server}/download-configs/", - command => "rm ${name}.tar.gz; tar --exclude=\\*.conf.d -chzvf ${name}.tar.gz ${name}", + command => "/bin/rm ${name}.tar.gz; tar --exclude=\\*.conf.d -chzvf ${name}.tar.gz ${name}", refreshonly => true, require => [ File["/etc/openvpn/${server}/download-configs/${name}/${name}.conf"], File["/etc/openvpn/${server}/download-configs/${name}/keys/ca.crt"], -- cgit v1.2.3