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: I00b501ff5a9e0411445c253febb7f60f31f8babf
This commit is contained in:
parent
333acdd956
commit
23acf5956d
@ -100,12 +100,7 @@ class {{cookiecutter.project_name}}::keystone::auth (
|
||||
|
||||
include {{cookiecutter.project_name}}::deps
|
||||
|
||||
if $configure_user_role {
|
||||
Keystone_user_role["${auth_name}@${tenant}"] ~> Service <| name == '{{cookiecutter.project_name}}-server' |>
|
||||
}
|
||||
if $configure_endpoint {
|
||||
Keystone_endpoint["${region}/${service_name}::${service_type}"] ~> Service <| name == '{{cookiecutter.project_name}}-server' |>
|
||||
}
|
||||
Keystone::Resource::Service_identity['{{cookiecutter.project_name}}'] -> Anchor['{{cookiecutter.project_name}}::service::end']
|
||||
|
||||
keystone::resource::service_identity { '{{cookiecutter.project_name}}':
|
||||
ensure => $ensure,
|
||||
|
Loading…
x
Reference in New Issue
Block a user