Move aodh to authtoken
In aodh::api, use keystone::resource::authtoken to configure keystone_authtoken section in aodh.conf, with all parameters required to configure keystonemiddleware. This patch will allow to deploy aodh to use Keystone v3 authentification. Some deprecations: - aodh::api::keystone_tenant is deprecated in favor of aodh::keystone::authtoken::project_name. - aodh::api::keystone_user is deprecated in favor of aodh::keystone::authtoken::username. - aodh::api::keystone_password is deprecated in favor of aodh::keystone::authtoken::password. - aodh::api::keystone_project_domain_name is deprecated in favor of aodh::keystone::authtoken::project_domain_name - aodh::api::keystone_user_domain_name is deprecated in favor of aodh::keystone::authtoken::user_domain_name - aodh::api::keystone_auth_type is deprecated in favor of aodh::keystone::authtoken::auth_type - aodh::api::keystone_auth_uri is deprecated in favor of aodh::keystone::authtoken::auth_uri - aodh::api::keystone_identity_uri is deprecated in favor of aodh::keystone::authtoken::auth_url - aodh::api::keystone_auth_url is deprecated in favor of aodh::keystone::authtoken::auth_url - aodh::api::memcached_servers is deprecated in favor of aodh::keystone::authtoken::memcached_servers Change-Id: Id8b3d8265f3554865fd77b291f235219b147efb9 Related-Bug: #1604463
This commit is contained in:
@@ -42,11 +42,12 @@ describe 'basic aodh' do
|
||||
class { '::aodh::keystone::auth':
|
||||
password => 'a_big_secret',
|
||||
}
|
||||
class { '::aodh::keystone::authtoken':
|
||||
password => 'a_big_secret',
|
||||
}
|
||||
class { '::aodh::api':
|
||||
enabled => true,
|
||||
keystone_password => 'a_big_secret',
|
||||
keystone_auth_uri => 'http://127.0.0.1:5000',
|
||||
service_name => 'httpd',
|
||||
enabled => true,
|
||||
service_name => 'httpd',
|
||||
}
|
||||
include ::apache
|
||||
class { '::aodh::wsgi::apache':
|
||||
|
||||
Reference in New Issue
Block a user