summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2017-01-31 10:45:00 -0800
committerMatt Taggart <taggart@riseup.net>2017-01-31 10:45:00 -0800
commitff6c12482b812cdc262dabcd1faebc63e466087f (patch)
treeb82b60b4390763c7d805a37e40b67319641671c3 /manifests/centos.pp
parent77ce0b926b7418703223b4a6c489067f9d9bc4f5 (diff)
parentf560a426885f0982cae39495321222158a69e895 (diff)
Merge remote-tracking branch 'shared/master' into merge
Conflicts: manifests/base.pp
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index f671bc9..1f8b37d 100644
--- a/manifests/centos.pp
+++ b/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'],
}
}
}