diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-10-12 14:10:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-10-12 14:10:01 +0000 |
commit | 37830dd045467b0fa157c6c3604faf1329af752d (patch) | |
tree | e1d6e9499280528b7855b6a7fb6c039716728cff /puppet | |
parent | 461b8b0ce8476990c790701cdea960e6a2d6826f (diff) | |
parent | c0bd689636e14ed64c702e9178d82df82f556550 (diff) |
Merge "Allow one to specify horizon ALLOWED_HOSTS"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/controller.yaml | 6 | ||||
-rw-r--r-- | puppet/hieradata/controller.yaml | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/puppet/controller.yaml b/puppet/controller.yaml index 3b7ec7e7..8ea7053e 100644 --- a/puppet/controller.yaml +++ b/puppet/controller.yaml @@ -187,6 +187,10 @@ parameters: HeatAuthEncryptionKey: description: Auth encryption key for heat-engine type: string + HorizonAllowedHosts: + default: '*' + description: A list of IP/Hostname allowed to connect to horizon + type: comma_delimited_list HorizonSecret: description: Secret key for Django type: string @@ -666,6 +670,7 @@ resources: - {get_param: HeatApiVirtualIP} - ':8000/v1/waitcondition' heat_auth_encryption_key: {get_param: HeatAuthEncryptionKey} + horizon_allowed_hosts: {get_param: HorizonAllowedHosts} horizon_secret: {get_param: HorizonSecret} admin_password: {get_param: AdminPassword} admin_token: {get_param: AdminToken} @@ -1182,6 +1187,7 @@ resources: # Horizon apache::ip: {get_input: horizon_network} + horizon::allowed_hosts: {get_input: horizon_allowed_hosts} horizon::django_debug: {get_input: debug} horizon::secret_key: {get_input: horizon_secret} horizon::bind_address: {get_input: horizon_network} diff --git a/puppet/hieradata/controller.yaml b/puppet/hieradata/controller.yaml index a4e2766b..90c2705f 100644 --- a/puppet/hieradata/controller.yaml +++ b/puppet/hieradata/controller.yaml @@ -90,7 +90,6 @@ pacemaker::resource_defaults::defaults: resource-stickiness: { value: INFINITY } # horizon -horizon::allowed_hosts: '*' horizon::django_session_engine: 'django.contrib.sessions.backends.cache' # mysql |