Skip to content

Commit 22b2dd9

Browse files
committed
Merge pull request #1142 from mhaskel/merge_1.5.x_to_master
Merge 1.5.x to master
2 parents 5e321ce + 44bc721 commit 22b2dd9

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
##2015-06-16 - Supported Release 1.5.0
1+
##2015-06-11 - Supported Release 1.5.0
22
### Summary
33
This release primarily adds Suse compatibility. It also adds a handful of other
44
parameters for greater configuration control.
55

66
### Features
7-
- Now compatible with concat 1.x and 2.x
87
- Add `apache::lib_path` parameter
98
- Add `apache::service_restart` parameter
109
- Add `apache::vhost::geoip_enable` parameter
@@ -29,6 +28,7 @@ parameters for greater configuration control.
2928
- Fix alias module being declared even when vhost is absent
3029
- Fix proxy\_pass\_match handling in vhost's proxy template
3130
- Fix userdir access permissions
31+
- Fix issue where the module was trying to use systemd on Amazon Linux.
3232

3333
##2015-04-28 - Supported Release 1.4.1
3434

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) and !($::operatingsystem == 'Amazon' and versioncmp($::operatingsystemrelease, '2014.09') <= 0 ) ) {
15+
if ( !($::osfamily == 'redhat' and versioncmp($::operatingsystemrelease, '7.0') == -1) and !($::operatingsystem == 'Amazon') ) {
1616
::apache::mod { 'systemd': }
1717
}
1818
::apache::mod { 'unixd': }

spec/acceptance/basic_spec.rb

Lines changed: 0 additions & 12 deletions
This file was deleted.

spec/spec_helper_acceptance.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
end
2929
on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
3030
on host, puppet('module','install','puppetlabs-concat', '--version 1.1.1', '--force'), { :acceptable_exit_codes => [0,1] }
31+
32+
# Make sure selinux is disabled before each test or apache won't work.
33+
if ! UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))
34+
on host, puppet('apply', '-e',
35+
%{"exec { 'setenforce 0': path => '/bin:/sbin:/usr/bin:/usr/sbin', onlyif => 'which setenforce && getenforce | grep Enforcing', }"}),
36+
{ :acceptable_exit_codes => [0] }
37+
end
3138
end
3239
end
3340
end

0 commit comments

Comments
 (0)