summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
blob: ff8c6ad9263d186495817fe0da8f7da0fed6040a (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 $::operatingsystemmajrelease == '6' {
    augeas{'enable_shorewall':
      context => '/files/etc/sysconfig/shorewall',
      changes => 'set startup 1',
      lens    => 'Shellvars.lns',
      incl    => '/etc/sysconfig/shorewall',
      require => Package['shorewall'],
      notify  => Exec['shorewall_check'],
    }
  }
}