[FUP] Backport - krb-service-principal metadata per-Role

The rocky and queens backport of change[1] missed updating a
deprecated environment file that is no longer present since
stein.

This change updates the deprecated environment file to be a
j2 file with the jinja code to render the per-role metadata.

[1] I5ae3bc845b0a6ad6986d44b14ff4b0737a9b033b

Related-Bug: #1821377
Change-Id: Ie7c3c448e8d0f53a5347a19b6d0b99a0c6097114
This commit is contained in:
Harald Jensås 2019-06-12 15:04:06 +02:00
parent 9d2caa2fcb
commit fb5f69dcb2
1 changed files with 3 additions and 1 deletions

View File

@ -24,4 +24,6 @@ resource_registry:
# Creates nova metadata that will create the extra service principals per
# node.
OS::TripleO::ServiceServerMetadataHook: ../extraconfig/nova_metadata/krb-service-principals.yaml
{%- for role in roles %}
OS::TripleO::{{role.name}}ServiceServerMetadataHook: ../extraconfig/nova_metadata/krb-service-principals/{{role.name.lower()}}-role.yaml
{%- endfor %}