summaryrefslogtreecommitdiff
path: root/manifests/cert.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-03 16:25:17 +0100
committermh <mh@immerda.ch>2013-01-03 16:25:17 +0100
commitefabeee0d89f5bff3b9aa897b57c6496912a0e3f (patch)
tree2da0a3031ab772e561b951547a3badf9e0795d51 /manifests/cert.pp
parent5828c4a6ebc1f23d8a52e1a2d9327657b0a00dde (diff)
differentiate between cert and configs and place certs in the right location on el6
Diffstat (limited to 'manifests/cert.pp')
-rw-r--r--manifests/cert.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cert.pp b/manifests/cert.pp
index d5baf90..ae7e5ef 100644
--- a/manifests/cert.pp
+++ b/manifests/cert.pp
@@ -7,14 +7,14 @@ define strongswan::cert(
fail("You need to pass some \$cert content for ${name} if it should be present")
}
- file{"${strongswan::config_dir}/certs/${name}.asc":
+ file{"${strongswan::cert_dir}/certs/${name}.asc":
ensure => $ensure,
require => Package['strongswan'],
notify => Service['ipsec'],
}
if $ensure == 'present' {
- File["${strongswan::config_dir}/certs/${name}.asc"]{
+ File["${strongswan::cert_dir}/certs/${name}.asc"]{
content => $cert,
owner => 'root',
group => 0,