summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
blob: 1f8b37dd951b00efa0019c652e8a47521643e1fd (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 versioncmp($::operatingsystemmajrelease,'5') > 0 {
    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'],
    }
  }
}