Allow one to specify horizon ALLOWED_HOSTS
authorYanis Guenane <yguenane@redhat.com>
Tue, 8 Sep 2015 11:01:48 +0000 (13:01 +0200)
committerYanis Guenane <yguenane@redhat.com>
Mon, 12 Oct 2015 09:56:41 +0000 (11:56 +0200)
commitc0bd689636e14ed64c702e9178d82df82f556550
tree945c8cf9cff00c9cc890f0c4beffe7a7f7cdb511
parentd4cb01089b5cfd78a663995d59a1ca804acb0769
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
overcloud-without-mergepy.yaml
puppet/controller.yaml
puppet/hieradata/controller.yaml