diff options
author | Micah Anderson <micah@riseup.net> | 2013-04-02 16:01:40 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-08-10 19:53:39 +0200 |
commit | 320a33ab9e45169aa2bc09f0d0f791133c49edea (patch) | |
tree | cf52a02f8ca35a0dec18b9e38c3bd0d60a398dc5 /manifests/cert.pp | |
parent | 3a10caaa7be94929a2675d9ef69d306f65f65e8e (diff) |
minor formatting/linting cleanup
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'], |