aboutsummaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index b7fc24a..95b7759 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -1,6 +1,6 @@
# things needed on centos
class shorewall::centos inherits shorewall::base {
- if $::operatingsystemmajrelease == '6' {
+ if versioncmp($::operatingsystemmajrelease,'5') > 0 {
augeas{'enable_shorewall':
context => '/files/etc/sysconfig/shorewall',
changes => 'set startup 1',