Add domain info to salt keystone profile metadata
This patch allows to set the following parameters in salt keystone
profiles:
* user_domain_name by setting identity.admin.user_domain_name
* project_name by setting identity.admin.project
* project_domain_name by setting identity.admin.project_domain_name
Change-Id: Ia851f95ada382ceb55e1bb5e649f2da70423b238
diff --git a/keystone/meta/salt.yml b/keystone/meta/salt.yml
index 5840f95..92324e5 100644
--- a/keystone/meta/salt.yml
+++ b/keystone/meta/salt.yml
@@ -49,6 +49,13 @@
keystone.auth_url: '{{ protocol+'://'+identity.admin.host+':'+identity.admin.port|string+version }}'
keystone.region_name: '{{ identity.admin.region_name }}'
keystone.use_keystoneauth: {{ identity.admin.get('use_keystoneauth', false) }}
+ {%- if identity.admin.user_domain_name is defined %}
+ keystone.user_domain_name: '{{ identity.admin.user_domain_name }}'
+ {%- endif %}
+ keystone.project_name: '{{ identity.admin.project }}'
+ {%- if identity.admin.project_domain_name is defined %}
+ keystone.project_domain_name: '{{ identity.admin.project_domain_name }}'
+ {%- endif %}
{%- endif %}
{%- endif %}