summaryrefslogtreecommitdiff
path: root/puppet/modules/shorewall/manifests/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/shorewall/manifests/centos.pp')
-rw-r--r--puppet/modules/shorewall/manifests/centos.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/shorewall/manifests/centos.pp b/puppet/modules/shorewall/manifests/centos.pp
index f671bc9f..1f8b37dd 100644
--- a/puppet/modules/shorewall/manifests/centos.pp
+++ b/puppet/modules/shorewall/manifests/centos.pp
@@ -1,13 +1,13 @@
# things needed on centos
class shorewall::centos inherits shorewall::base {
- if $::lsbmajdistrelease > 5 {
+ if versioncmp($::operatingsystemmajrelease,'5') > 0 {
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'],
+ notify => Exec['shorewall_check'],
}
}
}