blob: 09f34e72aadea4c5dc1e911bb6db59562d3ba34f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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'],
}
if $shorewall::with_shorewall6 {
package{'perl-Socket6':
ensure => 'installed',
before => Package['shorewall6'],
}
}
}
}
|