diff options
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r-- | manifests/centos.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp new file mode 100644 index 00000000..f671bc9f --- /dev/null +++ b/manifests/centos.pp @@ -0,0 +1,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'], + } + } +} |