Skip to content

Commit 2d6a224

Browse files
committed
playing with ensure_resources syntax
1 parent 0e29086 commit 2d6a224

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/deploy/client.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
"${openvpn::deploy::prepare::etc_directory}/openvpn",
2727
"${openvpn::deploy::prepare::etc_directory}/openvpn/keys",
2828
"${openvpn::deploy::prepare::etc_directory}/openvpn/keys/${name}",
29-
]:
29+
] => {
3030
ensure => directory,
31-
require => Package['openvpn'];
31+
require => Package['openvpn'],
32+
}
3233
})
3334
} else {
3435
file { "${openvpn::deploy::prepare::etc_directory}/openvpn/keys/${name}":

0 commit comments

Comments
 (0)