Simplify definition to ensure keystone resource creation
Use the whole resource type instead of its individual resources, to rely on interface instead of implementation of the dependent module. Change-Id: Ie36c8a096c33a475b21a1dc02a04de49d35be9c9
This commit is contained in:
parent
0eb8b285cf
commit
1b70d0c380
|
@ -96,12 +96,7 @@ class aodh::keystone::auth (
|
|||
|
||||
include aodh::deps
|
||||
|
||||
Keystone_user_role<| name == "${auth_name}@${tenant}" |> -> Anchor['aodh::service::end']
|
||||
Keystone_user_role<| name == "${auth_name}@::::${system_scope}" |> -> Anchor['aodh::service::end']
|
||||
|
||||
if $configure_endpoint {
|
||||
Keystone_endpoint["${region}/${service_name}::${service_type}"] -> Anchor['aodh::service::end']
|
||||
}
|
||||
Keystone::Resource::Service_identity['aodh'] -> Anchor['aodh::service::end']
|
||||
|
||||
keystone::resource::service_identity { 'aodh':
|
||||
configure_user => $configure_user,
|
||||
|
|
Loading…
Reference in New Issue