diff options
Diffstat (limited to 'manifests/centos/six.pp')
-rw-r--r-- | manifests/centos/six.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/centos/six.pp b/manifests/centos/six.pp index 5bc7283..4301482 100644 --- a/manifests/centos/six.pp +++ b/manifests/centos/six.pp @@ -9,6 +9,17 @@ class strongswan::centos::six inherits strongswan::base { path => '/etc/strongswan/ipsec.conf' } + file{ [ '/etc/strongswan/ipsec.d', + '/etc/strongswan/ipsec.d/private', + '/etc/strongswan/ipsec.d/certs' ]: + ensure => directory, + require => Package['strongswan'], + before => Exec['ipsec_privatekey'], + owner => root, + group => 0, + mode => '0600'; + } + file{'/etc/sysconfig/strongswan': content => "config='/etc/strongswan/strongswan.conf'\n", notify => Service['ipsec'], |