Update Packstack to use ::gnocchi::keystone::authtoken

Setting authtoken is now done by ::gnocchi::keystone::authtoken.
Resolves a duplicate declaration error on
keystone_authtoken/auth_version introduced in
https://review.openstack.org/#/c/347417/

Change-Id: I82c7eab0fc56a8b554eebfd22052e984cfe80a86
This commit is contained in:
David Moreau-Simard 2016-08-15 14:59:31 -04:00
parent 434269a0e8
commit 6a49be56b2
1 changed files with 8 additions and 9 deletions

View File

@ -20,17 +20,16 @@ class packstack::gnocchi ()
default => '0.0.0.0', default => '0.0.0.0',
} }
class { '::gnocchi::api': class { '::gnocchi::keystone::authtoken':
host => $bind_host, auth_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
keystone_identity_uri => hiera('CONFIG_KEYSTONE_ADMIN_URL'), auth_url => hiera('CONFIG_KEYSTONE_ADMIN_URL'),
keystone_password => hiera('CONFIG_GNOCCHI_KS_PW'), auth_version => hiera('CONFIG_KEYSTONE_API_VERSION'),
keystone_auth_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'), password => hiera('CONFIG_GNOCCHI_KS_PW')
service_name => 'httpd',
} }
# TO-DO: Remove this workaround as soon as module support is implemented (see rhbz#1300662) class { '::gnocchi::api':
gnocchi_config { host => $bind_host,
'keystone_authtoken/auth_version': value => hiera('CONFIG_KEYSTONE_API_VERSION'); service_name => 'httpd'
} }
class { '::gnocchi::db::sync': class { '::gnocchi::db::sync':