diff --git a/manifests/ca.pp b/manifests/ca.pp index 14590547..d2fb1029 100644 --- a/manifests/ca.pp +++ b/manifests/ca.pp @@ -119,6 +119,11 @@ $etc_directory = $::openvpn::params::etc_directory + file {"${etc_directory}/openvpn/${name}": + ensure => directory, + mode => '0750', + } + exec { "copy easy-rsa to openvpn config folder ${name}": command => "/bin/cp -r ${openvpn::params::easyrsa_source} ${etc_directory}/openvpn/${name}/easy-rsa", creates => "${etc_directory}/openvpn/${name}/easy-rsa",