Skip to content

Commit 1912a19

Browse files
committed
Bump to latest masters
Update apache to 9c1047d 9c1047d Merge pull request #1226 from DavidS/MODULES-2655-fix-sslprotocol-test 72df6f3 (MODULES-2655) Fix acceptance testing for SSLProtocol behaviour for real 3c953de Merge pull request #1225 from DavidS/multiple-fixes 1d46f7b (MODULES-2655) fix acceptance tests to correctly detect SELinux 94b2f0f (MODULES-2680) fix default nodeset to actually work a2a6395 Merge pull request #1218 from damonconway/2673 680f3a9 (MODULES-2673) Adding dev_packages to apache class. Allows use of httpd24u-devel from the IUS repo. 6124598 Merge pull request #1224 from DavidS/allow_no_docroot b63aac2 (MAINT) add a small test for no-docroot-mode 3a1a4e4 Merge pull request #1216 from bmfurtado/MODULES-2655 bb5b27e Added tests and updated docs for string and array support on ssl_protocol for apache::vhost. f57f7f7 (MODULES-2120) Allow empty docroot d57816b Added support for both string and array on ssl_protocol for apache::vhost 8447589 Change SSLProtocol in apache::vhost to be space separated Update cinder to f7524dac1bab750db82a341d0fb61ba0cc7179d7 f7524dac1bab750db82a341d0fb61ba0cc7179d7 Merge "Specify a dedicated keystone user for cinderv2" 43dcec66ba41ebac2895159e7dea3cb1d4cae498 Merge "Put all the logging related parameters to the logging class" 18f2db7a1def9322a7b6b8693f5c84eafe988eff Specify a dedicated keystone user for cinderv2 d0b0f897f1ac3e1e030901ffcde2d9cf93f098d4 Merge "Remove deprecated mysql_module" 7fe7d77bf3010a1e9c6559e5435c72ed6ff4190e Put all the logging related parameters to the logging class 6e192209432e0a9a8bc2d4b9032fb5a93844bc1b Remove deprecated mysql_module Update firewall to 2d870c46e95850ff6ee8bda19f48381512be1af7 2d870c46e95850ff6ee8bda19f48381512be1af7 Merge pull request #574 from DavidS/fix-selinux 55c838db80688edf63f0e70dcf2b755885b4a3f8 (MAINT) RedHat 6 also uses unconfined_t Update glance to 3ffcc382d0ed3e3cd441830d59965dd62a2be7e0 3ffcc382d0ed3e3cd441830d59965dd62a2be7e0 Merge "Remove deprecated mysql_module" 26cbd53d991b4bbfcae1f354ab5cc16908185a3e Remove deprecated mysql_module Update haproxy to 1c218e6fca7c217a94bc6046381bd4d6449223a4 1c218e6fca7c217a94bc6046381bd4d6449223a4 Merge pull request redhat-openstack#201 from traylenator/config_file fe6fcb1059a482587f8a8be4a010cf31ad4f92f7 (MODULES-2704) Consistent use of ::haproxy::config_file Update heat to f592e646c4b6ca1b6f06cd6e3e01ea43f692b56d f592e646c4b6ca1b6f06cd6e3e01ea43f692b56d Missing domain in keystone::domain Update ironic to 93018353468db291aa79b30656df85cfe4dee554 93018353468db291aa79b30656df85cfe4dee554 Merge "Simplify rpc_backend parameter" 8724c8f4a27e3e30fbae1e3dd1edfb573ffb652d Simplify rpc_backend parameter Update keystone to 93af53da67370bc52b4f42ac08f6c5963ce7bb4e 93af53da67370bc52b4f42ac08f6c5963ce7bb4e Merge "Federation acceptance: bump packages to latest" d2c44f731caa1ac3e57c407fc63c0c790e99e43f Replace indirection calls a88ede3fe156e8057bb237f30926a5996dce7a82 Federation acceptance: bump packages to latest Update manila to 3122525fe061364450e2e37cb293d24b2a3f2e5c 3122525fe061364450e2e37cb293d24b2a3f2e5c Merge "Put all the logging related parameters to the logging class" 0fa8d193d4b3ea8a6bf7ce379f6d703e01210960 Put all the logging related parameters to the logging class Update mysql to 87b7e4de9cdc5feae49015c1d829e2e74f6c355b 87b7e4de9cdc5feae49015c1d829e2e74f6c355b Merge pull request #766 from DavidS/modules-2683-fix-root-password-hiding 5f49c45b2eab1a655b1547397806dd024ee82b5e (MODULES-2683) fix version compare to properly suppress show_diff for root password 6527a3aa22a79eb8a7fb554c9ddee7e53f4e534f (MAINT) switch to rspec-puppet-facts Update neutron to 4b08d26f2f5a7d5f382b80a4631d7cca878f8a17 4b08d26f2f5a7d5f382b80a4631d7cca878f8a17 Merge "Delete namespaces by default" 3a1b5bec8bd4b25c0424c4bab0b0ec959d98c9b4 Merge "disable third-party software management" 4408e648f48ef8b500aa1a35018081623051c6f8 Delete namespaces by default 46a84300df5b7dda1d811a969f7660b818eeb6be Merge "dbsync should only notify services that use the db" b9a1f479cfac84c98fa96b0ffabe08a9e847c03b disable third-party software management fdf49deed8d64cea83b079b79d13d89df49926e3 dbsync should only notify services that use the db Update redis to 4a6c6a1a741354950b1ce0f31b8fdaa9254de4ed 4a6c6a1a741354950b1ce0f31b8fdaa9254de4ed Add a option to override the service provider Update stdlib to 2db7440 2db7440 Merge pull request #538 from mmckinst/bool2str_enhance 6de1a6e add functionality to bool2str to return strings of your choice for a boolean 39126a7 Merge pull request #539 from mentat/MODULES-2696 6aa7f2d Add check to ensure regex does not throw for none type. 57a8485 Merge pull request #537 from cmurphy/fix_load_module_metadata 25410c4 Let load_module_metadata succeed on empty file 0f8df10 Rename load_module_metadata test path 5b3c623 Merge pull request #536 from DavidS/improve-file_line-docs ad173f2 (MODULES-2421) improve description of file_line Update trove to 03f5a793a63e3788d92bda067b1b342a07db3ff7 03f5a793a63e3788d92bda067b1b342a07db3ff7 Simplify rpc_backend parameter Update vcsrepo to 99e8b2e28ce9541202b8b2438a92ee8ac2b03d6a 99e8b2e28ce9541202b8b2438a92ee8ac2b03d6a Merge pull request redhat-openstack#273 from hunner/fix_trustcert bf0f40ae4efa9095ca9a877acefdb781e1fbf1cd Fix :false to be default value Change-Id: I505e156a08c157a536ba0c922a2ef90083bbf10e
1 parent e419d47 commit 1912a19

100 files changed

Lines changed: 2335 additions & 1770 deletions

File tree

Some content is hidden

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

Puppetfile

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mod 'apache',
2-
:commit => '22ed02711ea7afee8a17c6b0ab7eb24d772d2b6e',
2+
:commit => '9c1047da1d7672d5e7305844eb27282adf60bbe0',
33
:git => 'https://github.com/puppetlabs/puppetlabs-apache.git'
44

55
mod 'aviator',
@@ -19,7 +19,7 @@ mod 'certmonger',
1919
:git => 'https://github.com/rcritten/puppet-certmonger.git'
2020

2121
mod 'cinder',
22-
:commit => '17026a35ecc28e28075bc13580b9740d641094ac',
22+
:commit => 'f7524dac1bab750db82a341d0fb61ba0cc7179d7',
2323
:git => 'https://github.com/openstack/puppet-cinder.git'
2424

2525
mod 'common',
@@ -35,15 +35,15 @@ mod 'corosync',
3535
:git => 'https://github.com/puppetlabs/puppetlabs-corosync.git'
3636

3737
mod 'firewall',
38-
:commit => '6755b959004f176844cb143690cc83ba621c40de',
38+
:commit => '2d870c46e95850ff6ee8bda19f48381512be1af7',
3939
:git => 'https://github.com/puppetlabs/puppetlabs-firewall.git'
4040

4141
mod 'galera',
4242
:commit => '26016bc260b6d1101201dd1ca791deb1a5fcf2cf',
4343
:git => 'https://github.com/redhat-openstack/puppet-galera.git'
4444

4545
mod 'glance',
46-
:commit => 'd6ad1f504eda3f1f0e0613ece9392dd8f78bf7b5',
46+
:commit => '3ffcc382d0ed3e3cd441830d59965dd62a2be7e0',
4747
:git => 'https://github.com/openstack/puppet-glance.git'
4848

4949
mod 'gluster',
@@ -55,11 +55,11 @@ mod 'gnocchi',
5555
:git => 'https://github.com/openstack/puppet-gnocchi.git'
5656

5757
mod 'haproxy',
58-
:commit => 'cdcbc19ac3389aadc5d7ec1e9d0631de28e06bf7',
58+
:commit => '1c218e6fca7c217a94bc6046381bd4d6449223a4',
5959
:git => 'https://github.com/puppetlabs/puppetlabs-haproxy.git'
6060

6161
mod 'heat',
62-
:commit => '06953c3d4493e405343704b1beeb1e610cfa75e6',
62+
:commit => 'f592e646c4b6ca1b6f06cd6e3e01ea43f692b56d',
6363
:git => 'https://github.com/openstack/puppet-heat.git'
6464

6565
mod 'horizon',
@@ -75,19 +75,19 @@ mod 'ipa',
7575
:git => 'https://github.com/xbezdick/puppet-ipa-1.git'
7676

7777
mod 'ironic',
78-
:commit => '50ec0e11608930f5286ee0913d1cd6fde8bf8a55',
78+
:commit => '93018353468db291aa79b30656df85cfe4dee554',
7979
:git => 'https://github.com/openstack/puppet-ironic.git'
8080

8181
mod 'keepalived',
8282
:commit => '24d523691b3581d4d0f662ffd10f1458014a9829',
8383
:git => 'https://github.com/Unyonsys/puppet-module-keepalived.git'
8484

8585
mod 'keystone',
86-
:commit => 'cc2f08164aea815c8e6f1a849edfee6aa75f7dcc',
86+
:commit => '93af53da67370bc52b4f42ac08f6c5963ce7bb4e',
8787
:git => 'https://github.com/openstack/puppet-keystone.git'
8888

8989
mod 'manila',
90-
:commit => 'd8fee807df66314ee3e5c68ee669e8826e327eef',
90+
:commit => '3122525fe061364450e2e37cb293d24b2a3f2e5c',
9191
:git => 'https://github.com/openstack/puppet-manila.git'
9292

9393
mod 'memcached',
@@ -107,7 +107,7 @@ mod 'mongodb',
107107
:git => 'https://github.com/puppetlabs/puppetlabs-mongodb.git'
108108

109109
mod 'mysql',
110-
:commit => '5e6db0bb0fd8b28bb9c7d8f23e67e6ddb8abf616',
110+
:commit => '87b7e4de9cdc5feae49015c1d829e2e74f6c355b',
111111
:git => 'https://github.com/puppetlabs/puppetlabs-mysql.git'
112112

113113
mod 'n1k_vsm',
@@ -119,7 +119,7 @@ mod 'nagios',
119119
:git => 'https://github.com/gildub/puppet-nagios-openstack.git'
120120

121121
mod 'neutron',
122-
:commit => 'ee10d14987a96fb82cc0905827f7891e8e6ecbb8',
122+
:commit => '4b08d26f2f5a7d5f382b80a4631d7cca878f8a17',
123123
:git => 'https://github.com/openstack/puppet-neutron.git'
124124

125125
mod 'nova',
@@ -159,7 +159,7 @@ mod 'rabbitmq',
159159
:git => 'https://github.com/puppetlabs/puppetlabs-rabbitmq.git'
160160

161161
mod 'redis',
162-
:commit => 'df4e2077220b13751c6f4fa89e714c0be72a65a7',
162+
:commit => '4a6c6a1a741354950b1ce0f31b8fdaa9254de4ed',
163163
:git => 'https://github.com/arioch/puppet-redis.git'
164164

165165
mod 'remote',
@@ -187,7 +187,7 @@ mod 'staging',
187187
:git => 'https://github.com/nanliu/puppet-staging.git'
188188

189189
mod 'stdlib',
190-
:commit => '4e62223801d118bb427a230b4571a911399ea859',
190+
:commit => '2db7440c6798d3ea0bf2f92c66d8281b2bfcff0c',
191191
:git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
192192

193193
mod 'swift',
@@ -211,15 +211,15 @@ mod 'tripleo',
211211
:git => 'https://github.com/openstack/puppet-tripleo.git'
212212

213213
mod 'trove',
214-
:commit => '045d929556389a631a34a68b011dc87b960fb9a6',
214+
:commit => '03f5a793a63e3788d92bda067b1b342a07db3ff7',
215215
:git => 'https://github.com/openstack/puppet-trove'
216216

217217
mod 'tuskar',
218218
:commit => '52120a9c64eb411c1ef51dccfc6f758f7142f6a5',
219219
:git => 'https://github.com/openstack/puppet-tuskar.git'
220220

221221
mod 'vcsrepo',
222-
:commit => '279be07607dd132f9446291cf1afa5ef2320632a',
222+
:commit => '99e8b2e28ce9541202b8b2438a92ee8ac2b03d6a',
223223
:git => 'https://github.com/puppetlabs/puppetlabs-vcsrepo.git'
224224

225225
mod 'vlan',

apache/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
[`logroot`]: #logroot
134134
[Log security]: http://httpd.apache.org/docs/current/logs.html#security
135135

136+
[`manage_docroot`]: #manage_docroot
136137
[`manage_user`]: #manage_user
137138
[`manage_group`]: #manage_group
138139
[`MaxConnectionsPerChild`]: https://httpd.apache.org/docs/current/mod/mpm_common.html#maxconnectionsperchild
@@ -888,6 +889,20 @@ Configures a default virtual host when the class is declared. Valid options: Boo
888889

889890
To configure [customized virtual hosts][Configuring virtual hosts], set this parameter's value to 'false'.
890891

892+
##### `dev_packages`
893+
894+
Configures a specific dev package to use. Valid options: String. Default: 'OS default httpd dev package'.
895+
896+
Example for using httpd 2.4 from the IUS yum repo:
897+
898+
~~~ puppet
899+
include ::apache::dev
900+
class { 'apache':
901+
apache_name => 'httpd24u',
902+
dev_packages => 'httpd24u-devel',
903+
}
904+
~~~
905+
891906
##### `docroot`
892907

893908
Sets the default [`DocumentRoot`][] location. Default: Determined by your operating system.
@@ -1886,6 +1901,8 @@ Sets the list of resources to look for when a client requests an index of the di
18861901

18871902
**Required**. Sets the [`DocumentRoot`][] location, from which Apache serves files.
18881903

1904+
If `docroot` and [`manage_docroot`][] are both set to `false`, no [`DocumentRoot`][] will be set and the accompanying `<Directory /path/to/directory>` block will not be created.
1905+
18891906
##### `docroot_group`
18901907

18911908
Sets group access to the [`docroot`][] directory. Defaults to 'root'.
@@ -3046,7 +3063,7 @@ Specifies the SSL certification. Defaults are based on your OS: '/etc/pki/tls/ce
30463063

30473064
##### `ssl_protocol`
30483065

3049-
Specifies [SSLProtocol](http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslprotocol). Expects an array of accepted protocols. Defaults to 'all', '-SSLv2', '-SSLv3'.
3066+
Specifies [SSLProtocol](http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslprotocol). Expects an array or space separated string of accepted protocols. Defaults to 'all', '-SSLv2', '-SSLv3'.
30503067

30513068
##### `ssl_cipher`
30523069

apache/manifests/dev.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class apache::dev {
22
include ::apache::params
3-
$packages = $::apache::params::dev_packages
3+
$packages = $::apache::dev_packages
44
if $packages { # FreeBSD doesn't have dev packages to install
55
package { $packages:
66
ensure => present,

apache/manifests/init.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
$default_ssl_crl = undef,
2929
$default_ssl_crl_check = undef,
3030
$default_type = 'none',
31+
$dev_packages = $::apache::params::dev_packages,
3132
$ip = undef,
3233
$service_enable = true,
3334
$service_manage = true,

apache/manifests/vhost.pp

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@
227227
if $limit_request_field_size {
228228
validate_integer($limit_request_field_size)
229229
}
230+
231+
# Validate the docroot as a string if:
232+
# - $manage_docroot is true
233+
if $manage_docroot {
234+
validate_string($docroot)
235+
}
230236
# Input validation ends
231237

232238
if $ssl and $ensure == 'present' {
@@ -271,7 +277,7 @@
271277

272278
# This ensures that the docroot exists
273279
# But enables it to be specified across multiple vhost resources
274-
if ! defined(File[$docroot]) and $manage_docroot {
280+
if $manage_docroot and $docroot and ! defined(File[$docroot]) {
275281
file { $docroot:
276282
ensure => directory,
277283
owner => $docroot_owner,
@@ -443,7 +449,7 @@
443449
fail("Apache::Vhost[${name}]: 'directories' must be either a Hash or an Array of Hashes")
444450
}
445451
$_directories = $directories
446-
} else {
452+
} elsif $docroot {
447453
$_directory = {
448454
provider => 'directory',
449455
path => $docroot,
@@ -518,10 +524,12 @@
518524
# Template uses:
519525
# - $virtual_docroot
520526
# - $docroot
521-
concat::fragment { "${name}-docroot":
522-
target => "${priority_real}${filename}.conf",
523-
order => 10,
524-
content => template('apache/vhost/_docroot.erb'),
527+
if $docroot {
528+
concat::fragment { "${name}-docroot":
529+
target => "${priority_real}${filename}.conf",
530+
order => 10,
531+
content => template('apache/vhost/_docroot.erb'),
532+
}
525533
}
526534

527535
# Template uses:

apache/spec/acceptance/apache_parameters_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class { 'apache':
358358
describe 'setup' do
359359
it 'applies cleanly' do
360360
pp = <<-EOS
361-
if $::osfamily == 'RedHat' and $::selinux {
361+
if $::osfamily == 'RedHat' and "$::selinux" == "true" {
362362
$semanage_package = $::operatingsystemmajrelease ? {
363363
'5' => 'policycoreutils',
364364
default => 'policycoreutils-python',

apache/spec/acceptance/class_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class { 'apache': }
4545
# Using puppet_apply as a helper
4646
it 'should work with no errors' do
4747
pp = <<-EOS
48-
if $::osfamily == 'RedHat' and $::selinux {
48+
if $::osfamily == 'RedHat' and "$::selinux" == "true" {
4949
$semanage_package = $::operatingsystemmajrelease ? {
5050
'5' => 'policycoreutils',
5151
default => 'policycoreutils-python',

apache/spec/acceptance/nodesets/centos-59-x64.yml

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

apache/spec/acceptance/nodesets/centos-64-x64-pe.yml

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

apache/spec/acceptance/nodesets/centos-64-x64.yml

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

0 commit comments

Comments
 (0)