summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/centos/six.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/centos/six.pp b/manifests/centos/six.pp
index bce84bf..b242abc 100644
--- a/manifests/centos/six.pp
+++ b/manifests/centos/six.pp
@@ -2,6 +2,13 @@ class strongswan::centos::six inherits strongswan::base {
Service['ipsec']{
name => 'strongswan',
}
+ File['/etc/ipsec.secrets']{
+ path => '/etc/strongswan/ipsec.secrets'
+ }
+ File['/etc/ipsec.conf']{
+ path => '/etc/strongswan/ipsec.conf'
+ }
+
file{'/etc/selinux/strongswan':
content => "config='/etc/strongswan/strongswan.conf'\n",
notify => Service['ipsec'],