Skip to content

Commit fdeb774

Browse files
committed
Update horizon to 168c206dfefa35abec48d7bce33ed469bf98cefb
168c206dfefa35abec48d7bce33ed469bf98cefb Merge "Release 5.0.0 - Juno" 512ff352eb4dbdc01cd40529b9ca9ea7e5b1db7c Update horzion::wsgi::apache for new apache module c4ba7a3c4cc42391b764724a8f95c94e86eabc06 Release 5.0.0 - Juno
1 parent 0013e0d commit fdeb774

5 files changed

Lines changed: 42 additions & 9 deletions

File tree

Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mod 'heat',
5151
:git => 'https://github.com/stackforge/puppet-heat.git'
5252

5353
mod 'horizon',
54-
:commit => '353c372d582167d5635b1b2ee9474cf6822db032',
54+
:commit => '168c206dfefa35abec48d7bce33ed469bf98cefb',
5555
:git => 'https://github.com/stackforge/puppet-horizon.git'
5656

5757
mod 'inifile',

horizon/README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
horizon
22
=======
33

4-
4.0.0 - 2014.1.0 - Icehouse
4+
5.0.0 - 2014.2.0 - Juno
55

66
#### Table of Contents
77

@@ -87,6 +87,33 @@ Contributors
8787
Release Notes
8888
-------------
8989

90+
**5.0.0**
91+
92+
* Stable Juno release
93+
* Fixed the default value of compress_offline parameter
94+
* Always manages local_settings.py
95+
* Added parameters to configure policy files in horizon class
96+
* Fixed Apache config file default
97+
* Added parameter django_session_engine to horizon class
98+
* Stops setting wsgi_socket_prefix since the apache module takes care of it
99+
* Adds workaround for puppet's handling of undef for setting the vhost bind address
100+
* Changes cache_server_ip in horizon class to accept arrays
101+
* Switched the default log level to INFO from DEBUG
102+
* Fixed the default MSSQL port in security group rules
103+
104+
**4.2.0**
105+
106+
* Added parameters to configure ALLOWED_HOSTS in settings_local.y and
107+
ServerAlias in apache, no longer requiring these values to be the fqdn
108+
* Fixed removal of vhost conf file
109+
* Added support for secure cookies
110+
111+
**4.1.0**
112+
113+
* Added option to set temporary upload directory for images.
114+
* Ensure ssl wsgi_process_group is the same as wsgi_daemon_process.
115+
* Pined major gems.
116+
90117
**4.0.0**
91118

92119
* Stable Icehouse release.

horizon/manifests/wsgi/apache.pp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@
180180
}
181181

182182
ensure_resource('apache::vhost', $vhost_conf_name, merge ($default_vhost_conf, $extra_params, {
183-
redirectmatch_regexp => "${redirect_match} ${redirect_url}",
183+
redirectmatch_regexp => $redirect_match,
184+
redirectmatch_dest => $redirect_url,
184185
}))
185186
ensure_resource('apache::vhost', $vhost_ssl_conf_name, merge ($default_vhost_conf, $extra_params, {
186187
access_log_file => 'horizon_ssl_access.log',
@@ -191,7 +192,8 @@
191192
ensure => $ensure_ssl_vhost,
192193
wsgi_daemon_process => 'horizon-ssl',
193194
wsgi_process_group => 'horizon-ssl',
194-
redirectmatch_regexp => "^/$ ${::horizon::params::root_url}"
195+
redirectmatch_regexp => '^/$',
196+
redirectmatch_dest => $::horizon::params::root_url,
195197
}))
196198

197199
}

horizon/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
],
3232
"description": "Installs and configures OpenStack Horizon (Dashboard).",
3333
"dependencies": [
34-
{ "name": "puppetlabs/apache", "version_requirement": ">=1.1.2 <2.0.0" },
34+
{ "name": "puppetlabs/apache", "version_requirement": ">=1.2.0 <2.0.0" },
3535
{ "name": "puppetlabs/stdlib", "version_requirement": ">=4.0.0 <5.0.0" },
3636
{ "name": "saz/memcached", "version_requirement": ">=2.0.2 <3.0.0" }
3737
]

horizon/spec/classes/horizon_wsgi_apache_spec.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
'docroot' => '/var/www/',
4545
'ssl' => 'false',
4646
'redirectmatch_status' => 'permanent',
47-
'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}",
47+
'redirectmatch_regexp' => '^/$',
48+
'redirectmatch_dest' => platforms_params[:root_url],
4849
'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' },
4950
'wsgi_process_group' => platforms_params[:wsgi_group],
5051
'wsgi_daemon_process' => platforms_params[:wsgi_group],
@@ -76,7 +77,8 @@
7677
'docroot' => '/var/www/',
7778
'ssl' => 'false',
7879
'redirectmatch_status' => 'permanent',
79-
'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}",
80+
'redirectmatch_regexp' => '^/$',
81+
'redirectmatch_dest' => platforms_params[:root_url],
8082
'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' },
8183
'wsgi_process_group' => platforms_params[:wsgi_group],
8284
'wsgi_daemon_process' => platforms_params[:wsgi_group],
@@ -112,7 +114,8 @@
112114
'ssl_key' => '/etc/pki/tls/private/httpd.key',
113115
'ssl_ca' => '/etc/pki/tls/certs/ca.crt',
114116
'redirectmatch_status' => 'permanent',
115-
'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}",
117+
'redirectmatch_regexp' => '^/$',
118+
'redirectmatch_dest' => platforms_params[:root_url],
116119
'wsgi_process_group' => 'horizon-ssl',
117120
'wsgi_daemon_process' => 'horizon-ssl',
118121
'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' }
@@ -127,7 +130,8 @@
127130
'docroot' => '/var/www/',
128131
'ssl' => 'false',
129132
'redirectmatch_status' => 'permanent',
130-
'redirectmatch_regexp' => '(.*) https://some.host.tld',
133+
'redirectmatch_regexp' => '(.*)',
134+
'redirectmatch_dest' => 'https://some.host.tld',
131135
'wsgi_process_group' => platforms_params[:wsgi_group],
132136
'wsgi_daemon_process' => platforms_params[:wsgi_group],
133137
'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' }

0 commit comments

Comments
 (0)