centos.pp 421 Bytes
Newer Older
1
# things needed on centos
mh's avatar
mh committed
2
class shorewall::centos inherits shorewall::base {
3
  if versioncmp($::operatingsystemmajrelease,'5') > 0 {
4 5 6 7 8 9
    augeas{'enable_shorewall':
      context => '/files/etc/sysconfig/shorewall',
      changes => 'set startup 1',
      lens    => 'Shellvars.lns',
      incl    => '/etc/sysconfig/shorewall',
      require => Package['shorewall'],
mh's avatar
mh committed
10
      notify  => Exec['shorewall_check'],
mh's avatar
mh committed
11 12
    }
  }
mh's avatar
mh committed
13
}