Skip to content

Commit

Permalink
[Glance] Fix deprecation of *auth_host* parameter in Glance::Api
Browse files Browse the repository at this point in the history
- *auth_host* has been deprecated in favor of *auth_uri* and
  *identity_uri*
- Dependent of pr-264 [1]

[1] - redhat-openstack/openstack-puppet-modules#264

Signed-off-by: Gael Chamoulaud <[email protected]>
Change-Id: I6bc2e872d0fa487637121530e3aa0d7894eb23bf
  • Loading branch information
strider authored and imcsk8 committed Feb 24, 2015
1 parent 9bd9178 commit 4f38313
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packstack/puppet/templates/glance.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
$glance_ks_pw = hiera('CONFIG_GLANCE_DB_PW')
$glance_mariadb_host = hiera('CONFIG_MARIADB_HOST')
$glance_cfg_ctrl_host = hiera('CONFIG_CONTROLLER_HOST')

class { 'glance::api':
auth_host => hiera('CONFIG_CONTROLLER_HOST'),
auth_uri => "http://${glance_cfg_ctrl_host}:5000/",
identity_uri => "http://${glance_cfg_ctrl_host}:35357/v2.0",
keystone_tenant => 'services',
keystone_user => 'glance',
keystone_password => hiera('CONFIG_GLANCE_KS_PW'),
Expand All @@ -13,7 +15,8 @@
}

class { 'glance::registry':
auth_host => hiera('CONFIG_CONTROLLER_HOST'),
auth_uri => "http://${glance_cfg_ctrl_host}:5000/",
identity_uri => "http://${glance_cfg_ctrl_host}:35357/v2.0",
keystone_tenant => 'services',
keystone_user => 'glance',
keystone_password => hiera('CONFIG_GLANCE_KS_PW'),
Expand Down

0 comments on commit 4f38313

Please sign in to comment.