diff options
author | Yanis Guenane <yguenane@redhat.com> | 2015-09-08 13:01:48 +0200 |
---|---|---|
committer | Yanis Guenane <yguenane@redhat.com> | 2015-10-12 11:56:41 +0200 |
commit | c0bd689636e14ed64c702e9178d82df82f556550 (patch) | |
tree | 945c8cf9cff00c9cc890f0c4beffe7a7f7cdb511 /puppet/hieradata | |
parent | d4cb01089b5cfd78a663995d59a1ca804acb0769 (diff) |
Allow one to specify horizon ALLOWED_HOSTS
If horizon is running in production (DEBUG is False), it will answer
only to the IPs/hostnames specified in the ALLOWED_HOSTS variable in the
local_settings.py configuration file.
The puppet-horizon module offer the feature to customize that,
tripleo-heat-teamplates was missing the link between the top-level
parameter and the puppet parameter, hence this commit.
More info :
* https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
* https://github.com/openstack/puppet-horizon/blob/master/templates/local_settings.py.erb#L14-L24
Change-Id: I5faede8b74a0318e15baa761dc502b95b051ae0d
Diffstat (limited to 'puppet/hieradata')
-rw-r--r-- | puppet/hieradata/controller.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
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 |