diff options
author | John Kinsella <jlkinsel@gmail.com> | 2012-02-22 10:41:04 -0800 |
---|---|---|
committer | John Kinsella <jlkinsel@gmail.com> | 2012-02-22 10:41:04 -0800 |
commit | be5f31a3afb6084f803633b5f2d31681db11cc65 (patch) | |
tree | 82058138de6e76549505693d17fee074cca4ec73 /manifests/server.pp | |
parent | 7e4bfd5317bea23b931f7f6c6080e62506cddfa0 (diff) |
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."
Diffstat (limited to 'manifests/server.pp')
-rw-r--r-- | manifests/server.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index b279b02..aa0c32d 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -19,7 +19,7 @@ define openvpn::server($country, $province, $city, $organization, $email) { exec { "copy easy-rsa to openvpn config folder ${name}": - command => "cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/${name}/easy-rsa", + command => "/bin/cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/${name}/easy-rsa", creates => "/etc/openvpn/${name}/easy-rsa", require => File["/etc/openvpn/${name}"]; } |