diff options
author | mh <mh@immerda.ch> | 2013-01-03 16:25:17 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-03 16:25:17 +0100 |
commit | efabeee0d89f5bff3b9aa897b57c6496912a0e3f (patch) | |
tree | 2da0a3031ab772e561b951547a3badf9e0795d51 /manifests/init.pp | |
parent | 5828c4a6ebc1f23d8a52e1a2d9327657b0a00dde (diff) |
differentiate between cert and configs and place certs in the right location on el6
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 8cb0728..d5db1f8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -18,12 +18,15 @@ class strongswan( case $::lsbmajdistrelease { '5': { $config_dir = '/etc/ipsec.d' + $certdir = '/etc/ipsec.d' + class{'strongswan::centos::five': require => Class['monkeysphere'], } } default: { $config_dir = '/etc/strongswan' + $certdir = '/etc/strongswan/ipsec.d' class{'strongswan::centos::six': require => Class['monkeysphere'], } @@ -32,6 +35,7 @@ class strongswan( } default: { $config_dir = '/etc/ipsec.d' + $certdir = '/etc/ipsec.d' class{'strongswan::base': require => Class['monkeysphere'], } |