Skip to content

Commit f05fce5

Browse files
committed
Merge pull request #147 from imcsk8/wsgi_apache
Automatic update :: puppet-horizon wsgi::apache should not call class apache::mod::wsgi but should use include
2 parents 5408089 + 745b5ac commit f05fce5

File tree

174 files changed

+6533
-2727
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+6533
-2727
lines changed

Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mod 'apache',
2-
:commit => '769ff363a8a3c51e24f63a2494217d2d029289c6',
2+
:commit => '8d09ecd81ce1001d9461570716d20898fe336f4a',
33
:git => 'https://github.com/puppetlabs/puppetlabs-apache.git'
44

55
mod 'ceilometer',

apache/.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
.pkg
1+
pkg/
22
Gemfile.lock
3-
vendor
4-
spec/fixtures
5-
.rspec_system
6-
.bundle
7-
.*sw*
3+
vendor/
4+
spec/fixtures/
5+
.vagrant/
6+
.bundle/
7+
coverage/

apache/.puppet-lint.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
--relative
12
--no-single_quote_string_with_variables-check
23
--no-80chars-check
34
--no-class_inherits_from_params_class-check
4-
--no-class_parameter_defaults-check
55
--no-documentation-check

apache/.sync.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
.travis.yml:
3+
extras:
4+
- rvm: 1.9.3
5+
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
6+
- rvm: 2.0.0
7+
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
8+
Rakefile:
9+
extra_disabled_lint_checks:
10+
- 'disable_only_variable_string'
11+
spec/spec_helper.rb:
12+
unmanaged: true

apache/.travis.yml

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,21 @@
11
---
2-
branches:
3-
only:
4-
- master
52
language: ruby
63
bundler_args: --without development
7-
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
8-
after_success:
9-
- git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng
10-
- .forge-releng/publish
11-
rvm:
12-
- 1.8.7
13-
- 1.9.3
14-
- 2.0.0
15-
env:
16-
matrix:
17-
- PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
18-
- PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
19-
- PUPPET_GEM_VERSION="~> 3.0"
20-
global:
21-
- PUBLISHER_LOGIN=puppetlabs
22-
- secure: |-
23-
MO4pB4bqBQJjm2yFHf3Mgho+y0Qv4GmMxTMhzI02tGy1V0HMtruZbR7EBN0i
24-
n2CiR7V9V0mNR7/ymzDMF9yVBcgqyXMsp/C6u992Dd0U63ZwFpbRWkxuAeEY
25-
ioupWBkiczjVEo+sxn+gVOnx28pcH/X8kDWbr6wFOMIjO03K66Y=
4+
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
265
matrix:
276
fast_finish: true
28-
exclude:
29-
- rvm: 1.9.3
30-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
31-
- rvm: 1.9.3
32-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
33-
- rvm: 2.0.0
34-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
35-
- rvm: 2.0.0
36-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
37-
- rvm: 1.8.7
38-
env: PUPPET_GEM_VERSION="~> 3.2.0"
7+
include:
8+
- rvm: 1.8.7
9+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
10+
- rvm: 1.8.7
11+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
12+
- rvm: 1.9.3
13+
env: PUPPET_GEM_VERSION="~> 3.0"
14+
- rvm: 2.0.0
15+
env: PUPPET_GEM_VERSION="~> 3.0"
16+
- rvm: 1.9.3
17+
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
18+
- rvm: 2.0.0
19+
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
3920
notifications:
4021
email: false

apache/CHANGELOG.md

Lines changed: 126 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,92 @@
1+
##2014-07-15 - Supported Release 1.1.1
2+
###Summary
3+
4+
This release merely updates metadata.json so the module can be uninstalled and
5+
upgraded via the puppet module command.
6+
7+
## 2014-04-14 Supported Release 1.1.0
8+
9+
###Summary
10+
11+
This release primarily focuses on extending the httpd 2.4 support, tested
12+
through adding RHEL7 and Ubuntu 14.04 support. It also includes Passenger
13+
4 support, as well as several new modules and important bugfixes.
14+
15+
####Features
16+
17+
- Add support for RHEL7 and Ubuntu 14.04
18+
- More complete apache24 support
19+
- Passenger 4 support
20+
- Add support for max_keepalive_requests and log_formats parameters
21+
- Add mod_pagespeed support
22+
- Add mod_speling support
23+
- Added several parameters for mod_passenger
24+
- Added ssl_cipher parameter to apache::mod::ssl
25+
- Improved examples in documentation
26+
- Added docroot_mode, action, and suexec_user_group parameters to apache::vhost
27+
- Add support for custom extensions for mod_php
28+
- Improve proxy_html support for Debian
29+
30+
####Bugfixes
31+
32+
- Remove NameVirtualHost directive for apache >= 2.4
33+
- Order proxy_set option so it doesn't change between runs
34+
- Fix inverted SSL compression
35+
- Fix missing ensure on concat::fragment resources
36+
- Fix bad dependencies in apache::mod and apache::mod::mime
37+
38+
####Known Bugs
39+
* By default, the version of Apache that ships with Ubuntu 10.04 does not work with `wsgi_import_script`.
40+
* SLES is unsupported.
41+
42+
## 2014-03-04 Supported Release 1.0.1
43+
###Summary
44+
45+
This is a supported release. This release removes a testing symlink that can
46+
cause trouble on systems where /var is on a seperate filesystem from the
47+
modulepath.
48+
49+
####Features
50+
####Bugfixes
51+
####Known Bugs
52+
* By default, the version of Apache that ships with Ubuntu 10.04 does not work with `wsgi_import_script`.
53+
* SLES is unsupported.
54+
55+
## 2014-03-04 Supported Release 1.0.0
56+
###Summary
57+
58+
This is a supported release. This release introduces Apache 2.4 support for
59+
Debian and RHEL based osfamilies.
60+
61+
####Features
62+
63+
- Add apache24 support
64+
- Add rewrite_base functionality to rewrites
65+
- Updated README documentation
66+
- Add WSGIApplicationGroup and WSGIImportScript directives
67+
68+
####Bugfixes
69+
70+
- Replace mutating hashes with merge() for Puppet 3.5
71+
- Fix WSGI import_script and mod_ssl issues on Lucid
72+
73+
####Known Bugs
74+
* By default, the version of Apache that ships with Ubuntu 10.04 does not work with `wsgi_import_script`.
75+
* SLES is unsupported.
76+
77+
---
78+
179
## 2014-01-31 Release 0.11.0
280
### Summary:
381

482
This release adds preliminary support for Windows compatibility and multiple rewrite support.
583

6-
### Backwards-incompatible Changes:
84+
#### Backwards-incompatible Changes:
785

886
- The rewrite_rule parameter is deprecated in favor of the new rewrite parameter
987
and will be removed in a future release.
1088

11-
### Features:
89+
#### Features:
1290

1391
- add Match directive
1492
- quote paths for windows compatibility
@@ -25,7 +103,7 @@ This release adds preliminary support for Windows compatibility and multiple rew
25103
- Convert spec tests to beaker.
26104
- Support php_admin_(flag|value)s
27105

28-
### Bugfixes:
106+
#### Bugfixes:
29107

30108
- directories are either a Hash or an Array of Hashes
31109
- Configure Passenger in separate .conf file on RH so PassengerRoot isn't lost
@@ -40,7 +118,7 @@ This release adds preliminary support for Windows compatibility and multiple rew
40118

41119
This release adds FreeBSD osfamily support and various other improvements to some mods.
42120

43-
### Features:
121+
#### Features:
44122

45123
- Add suPHP_UserGroup directive to directory context
46124
- Add support for ScriptAliasMatch directives
@@ -68,7 +146,7 @@ This release adds FreeBSD osfamily support and various other improvements to som
68146
- Add documentation about $ip
69147
- Add ability to pass ip (instead of wildcard) in default vhost files
70148

71-
### Bugfixes:
149+
#### Bugfixes:
72150

73151
- Don't listen on port or set NameVirtualHost for non-existent vhost
74152
- only apply Directory defaults when provider is a directory
@@ -80,15 +158,15 @@ This release adds more parameters to the base apache class and apache defined
80158
resource to make the module more flexible. It also adds or enhances SuPHP,
81159
WSGI, and Passenger mod support, and support for the ITK mpm module.
82160

83-
### Backwards-incompatible Changes:
161+
#### Backwards-incompatible Changes:
84162
- Remove many default mods that are not normally needed.
85163
- Remove `rewrite_base` `apache::vhost` parameter; did not work anyway.
86164
- Specify dependencies on stdlib >=2.4.0 (this was already the case, but
87165
making explicit)
88166
- Deprecate `a2mod` in favor of the `apache::mod::*` classes and `apache::mod`
89167
defined resource.
90168

91-
### Features:
169+
#### Features:
92170
- `apache` class
93171
- Add `httpd_dir` parameter to change the location of the configuration
94172
files.
@@ -123,7 +201,7 @@ dependency chaining of `Class['apache'] -> <resource> ~>
123201
Class['apache::service']`
124202
- Added `apache::mod::proxy_balancer` class for `apache::balancer`
125203

126-
### Bugfixes:
204+
#### Bugfixes:
127205
- Change dependency to puppetlabs-concat
128206
- Fix ruby 1.9 bug for `a2mod`
129207
- Change servername to be `$::hostname` if there is no `$::fqdn`
@@ -133,31 +211,31 @@ Class['apache::service']`
133211
array.
134212

135213
## 2013-07-26 Release 0.8.1
136-
### Bugfixes:
214+
#### Bugfixes:
137215
- Update `apache::mpm_module` detection for worker/prefork
138216
- Update `apache::mod::cgi` and `apache::mod::cgid` detection for
139217
worker/prefork
140218

141219
## 2013-07-16 Release 0.8.0
142-
### Features:
220+
#### Features:
143221
- Add `servername` parameter to `apache` class
144222
- Add `proxy_set` parameter to `apache::balancer` define
145223

146-
### Bugfixes:
224+
#### Bugfixes:
147225
- Fix ordering for multiple `apache::balancer` clusters
148226
- Fix symlinking for sites-available on Debian-based OSs
149227
- Fix dependency ordering for recursive confdir management
150228
- Fix `apache::mod::*` to notify the service on config change
151229
- Documentation updates
152230

153231
## 2013-07-09 Release 0.7.0
154-
### Changes:
232+
#### Changes:
155233
- Essentially rewrite the module -- too many to list
156234
- `apache::vhost` has many abilities -- see README.md for details
157235
- `apache::mod::*` classes provide httpd mod-loading capabilities
158236
- `apache` base class is much more configurable
159237

160-
### Bugfixes:
238+
#### Bugfixes:
161239
- Many. And many more to come
162240

163241
## 2013-03-2 Release 0.6.0
@@ -166,44 +244,44 @@ worker/prefork
166244
- make purging of vhost dir configurable
167245

168246
## 2012-08-24 Release 0.4.0
169-
### Changes:
247+
#### Changes:
170248
- `include apache` is now required when using `apache::mod::*`
171249

172-
### Bugfixes:
250+
#### Bugfixes:
173251
- Fix syntax for validate_re
174252
- Fix formatting in vhost template
175253
- Fix spec tests such that they pass
176254

177-
2012-05-08 Puppet Labs <info@puppetlabs.com> - 0.0.4
178-
e62e362 Fix broken tests for ssl, vhost, vhost::*
179-
42c6363 Changes to match style guide and pass puppet-lint without error
180-
42bc8ba changed name => path for file resources in order to name namevar by it's name
181-
72e13de One end too much
182-
0739641 style guide fixes: 'true' <> true, $operatingsystem needs to be $::operatingsystem, etc.
183-
273f94d fix tests
184-
a35ede5 (#13860) Make a2enmod/a2dismo commands optional
185-
98d774e (#13860) Autorequire Package['httpd']
186-
05fcec5 (#13073) Add missing puppet spec tests
187-
541afda (#6899) Remove virtual a2mod definition
188-
976cb69 (#13072) Move mod python and wsgi package names to params
189-
323915a (#13060) Add .gitignore to repo
190-
fdf40af (#13060) Remove pkg directory from source tree
191-
fd90015 Add LICENSE file and update the ModuleFile
192-
d3d0d23 Re-enable local php class
193-
d7516c7 Make management of firewalls configurable for vhosts
194-
60f83ba Explicitly lookup scope of apache_name in templates.
195-
f4d287f (#12581) Add explicit ordering for vdir directory
196-
88a2ac6 (#11706) puppetlabs-apache depends on puppetlabs-firewall
197-
a776a8b (#11071) Fix to work with latest firewall module
198-
2b79e8b (#11070) Add support for Scientific Linux
199-
405b3e9 Fix for a2mod
200-
57b9048 Commit apache::vhost::redirect Manifest
201-
8862d01 Commit apache::vhost::proxy Manifest
202-
d5c1fd0 Commit apache::mod::wsgi Manifest
203-
a825ac7 Commit apache::mod::python Manifest
204-
b77062f Commit Templates
205-
9a51b4a Vhost File Declarations
206-
6cf7312 Defaults for Parameters
207-
6a5b11a Ensure installed
208-
f672e46 a2mod fix
209-
8a56ee9 add pthon support to apache
255+
##2012-05-08 Puppet Labs <info@puppetlabs.com> - 0.0.4
256+
* e62e362 Fix broken tests for ssl, vhost, vhost::*
257+
* 42c6363 Changes to match style guide and pass puppet-lint without error
258+
* 42bc8ba changed name => path for file resources in order to name namevar by it's name
259+
* 72e13de One end too much
260+
* 0739641 style guide fixes: 'true' <> true, $operatingsystem needs to be $::operatingsystem, etc.
261+
* 273f94d fix tests
262+
* a35ede5 (#13860) Make a2enmod/a2dismo commands optional
263+
* 98d774e (#13860) Autorequire Package['httpd']
264+
* 05fcec5 (#13073) Add missing puppet spec tests
265+
* 541afda (#6899) Remove virtual a2mod definition
266+
* 976cb69 (#13072) Move mod python and wsgi package names to params
267+
* 323915a (#13060) Add .gitignore to repo
268+
* fdf40af (#13060) Remove pkg directory from source tree
269+
* fd90015 Add LICENSE file and update the ModuleFile
270+
* d3d0d23 Re-enable local php class
271+
* d7516c7 Make management of firewalls configurable for vhosts
272+
* 60f83ba Explicitly lookup scope of apache_name in templates.
273+
* f4d287f (#12581) Add explicit ordering for vdir directory
274+
* 88a2ac6 (#11706) puppetlabs-apache depends on puppetlabs-firewall
275+
* a776a8b (#11071) Fix to work with latest firewall module
276+
* 2b79e8b (#11070) Add support for Scientific Linux
277+
* 405b3e9 Fix for a2mod
278+
* 57b9048 Commit apache::vhost::redirect Manifest
279+
* 8862d01 Commit apache::vhost::proxy Manifest
280+
* d5c1fd0 Commit apache::mod::wsgi Manifest
281+
* a825ac7 Commit apache::mod::python Manifest
282+
* b77062f Commit Templates
283+
* 9a51b4a Vhost File Declarations
284+
* 6cf7312 Defaults for Parameters
285+
* 6a5b11a Ensure installed
286+
* f672e46 a2mod fix
287+
* 8a56ee9 add pthon support to apache

apache/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ group :development, :test do
88
gem 'puppet-lint', :require => false
99
gem 'beaker', :require => false
1010
gem 'beaker-rspec', :require => false
11+
gem 'pry', :require => false
12+
gem 'simplecov', :require => false
1113
end
1214

1315
if facterversion = ENV['FACTER_GEM_VERSION']

apache/Modulefile

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

0 commit comments

Comments
 (0)