Skip to content

Commit fac900e

Browse files
committed
Update the default version of Apache for Amazon Linux 2
- updated minor version
1 parent 958023b commit fac900e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/version.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
if $scl_httpd_version {
1212
$default = $scl_httpd_version
1313
}
14-
elsif ($::operatingsystem == 'Amazon') {
15-
$default = '2.2'
14+
elsif ($::operatingsystem == 'Amazon' and $::operatingsystemmajrelease == '2') {
15+
$default = '2.4'
1616
} elsif ($::operatingsystem == 'Fedora' and versioncmp($facts['operatingsystemmajrelease'], '18') >= 0) or ($::operatingsystem != 'Fedora' and versioncmp($facts['operatingsystemmajrelease'], '7') >= 0) {
1717
$default = '2.4'
1818
} else {

0 commit comments

Comments
 (0)