diff --git a/manifests/server.pp b/manifests/server.pp index f74bf898..2645b26f 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -567,17 +567,17 @@ group => $group_to_set, } - file { "${etc_directory}/openvpn/${name}": + ensure_resource(file, "${etc_directory}/openvpn/${name}", { ensure => directory, mode => '0750', notify => $lnotify, - } + }) if $shared_ca { - file { "${etc_directory}/openvpn/${ca_name}": + ensure_resource(file, "${etc_directory}/openvpn/${ca_name}", { ensure => directory, mode => '0750', notify => $lnotify, - } + }) } if $extca_enabled {