aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-02-28 19:28:28 +0100
committerMicah Anderson <micah@riseup.net>2013-03-23 10:51:19 -0400
commit3e04a43fb31de5e1461289d6810a25df50127c6f (patch)
treeb45bc62caf36eac1f100c930e309fef3e514a8c8
parente94521847665c88a53c5d9df4ec7b56d8e771535 (diff)
downloadpuppet-shorewall-3e04a43fb31de5e1461289d6810a25df50127c6f.tar.gz
puppet-shorewall-3e04a43fb31de5e1461289d6810a25df50127c6f.tar.bz2
with the latest updates on EL6 this is needed
-rw-r--r--manifests/centos.pp15
1 files changed, 8 insertions, 7 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 7968b69..591185a 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -1,12 +1,13 @@
+# things needed on centos
class shorewall::centos inherits shorewall::base {
if $::lsbmajdistrelease == '6' {
- # workaround for
- # http://comments.gmane.org/gmane.comp.security.shorewall/26991
- file{'/etc/shorewall/params':
- ensure => link,
- target => '/etc/shorewall/puppet/params',
- before => Service['shorewall'],
- require => File['/etc/shorewall/puppet']
+ 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'],
}
}
}