summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-02-28 19:28:28 +0100
committermh <mh@immerda.ch>2013-02-28 19:41:18 +0100
commitd207277829a37bfd879a983a62bb68218f420c9b (patch)
tree2c39704aeadaf9342bd51a9b534c876856e59001 /manifests
parentd01a48cb5c3a73d281368d93c8f7a3fa45b3cd70 (diff)
with the latest updates on EL6 this is needed
Diffstat (limited to 'manifests')
-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'],
}
}
}