summaryrefslogtreecommitdiff
path: root/manifests/cert.pp
diff options
context:
space:
mode:
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,