summaryrefslogtreecommitdiff
path: root/manifests/centos/six.pp
blob: 5bc7283d4e4f7fbb1981dc08d8db1096ddff704c (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/sysconfig/strongswan':
    content => "config='/etc/strongswan/strongswan.conf'\n",
    notify  => Service['ipsec'],
    owner   => 'root',
    group   => 0,
    mode    => 0644;
  }
}