Merge "Configure allowed_hosts and server aliases for Horizon"

This commit is contained in:
Ben Nemec 2015-03-27 20:47:06 +01:00 committed by Gerrit Code Review
commit b951324300
2 changed files with 3 additions and 0 deletions

View File

@ -319,4 +319,6 @@ ironic_config {
class { 'horizon':
secret_key => hiera('horizon_secret_key'),
keystone_url => join(['http://', hiera('controller_host'), ':5000/v2.0']),
allowed_hosts => [hiera('controller_host'), $::fqdn, 'localhost'],
server_aliases => [hiera('controller_host'), $::fqdn, 'localhost'],
}

View File

@ -174,6 +174,7 @@ rabbit_username: {{UNDERCLOUD_RABBIT_USERNAME}}
# Horizon
horizon_secret_key: {{UNDERCLOUD_HORIZON_SECRET_KEY}}
horizon::wsgi::apache::priority: 10
# service tenant
ceilometer::api::keystone_tenant: 'service'