diff options
Diffstat (limited to 'manifests/cert.pp')
-rw-r--r-- | manifests/cert.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cert.pp b/manifests/cert.pp index ae7e5ef..6b9f685 100644 --- a/manifests/cert.pp +++ b/manifests/cert.pp @@ -1,5 +1,5 @@ # manage a cert snippet that we want to include -define strongswan::cert( +define strongswan::cert ( $ensure = 'present', $cert = 'absent' ) { @@ -7,7 +7,7 @@ define strongswan::cert( fail("You need to pass some \$cert content for ${name} if it should be present") } - file{"${strongswan::cert_dir}/certs/${name}.asc": + file { "${strongswan::cert_dir}/certs/${name}.asc": ensure => $ensure, require => Package['strongswan'], notify => Service['ipsec'], |