Skip to content

Commit 91007b1

Browse files
author
Morgan Haskel
committed
Merge pull request #865 from p7s1-wschreiner/patch-1
Update default_mods.pp
2 parents 81b9541 + ae374cc commit 91007b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/default_mods.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
if versioncmp($apache_version, '2.4') >= 0 {
1313
# Lets fork it
1414
# Do not try to load mod_systemd on RHEL/CentOS 6 SCL.
15-
if !($::osfamily == 'redhat' and versioncmp($::operatingsystemrelease, '7.0') == -1) {
15+
if ( !($::osfamily == 'redhat' and versioncmp($::operatingsystemrelease, '7.0') == -1) and !($::operatingsystem == 'Amazon' and versioncmp($::operatingsystemrelease, '2014.09') <= 0 ) ) {
1616
::apache::mod { 'systemd': }
1717
}
1818
::apache::mod { 'unixd': }

0 commit comments

Comments
 (0)