summaryrefslogtreecommitdiff
path: root/manifests/centos/five.pp
blob: 8209e2487491b0582802d567b987eef8d5c5527e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# strongswan on centos 5
class strongswan::centos::five inherits strongswan::base {
  if $::selinux == 'true' {
    package{'strongswan-selinux':
      ensure => installed,
      before => Service['ipsec'],
    }

    selinux::fcontext{
      '/var/run/charon.ctl':
        setype => 'ipsec_var_run_t';
    }
  }
}