blob: b242abc1dec1f15d0ac15459fd40af5c9d23b74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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'],
owner => 'root',
group => 0,
mode => 0644;
}
}
|