summaryrefslogtreecommitdiff
path: root/puppet/modules/shorewall/manifests/centos.pp
blob: f671bc9fb6818959ad01205cfd38fa3192413b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# things needed on centos
class shorewall::centos inherits shorewall::base {
  if $::lsbmajdistrelease > 5 {
    augeas{'enable_shorewall':
      context => '/files/etc/sysconfig/shorewall',
      changes => 'set startup 1',
      lens    => 'Shellvars.lns',
      incl    => '/etc/sysconfig/shorewall',
      require => Package['shorewall'],
      notify  => Service['shorewall'],
    }
  }
}