Ensure sql assignment driver is set

This commit is contained in:
Filip Pytloun 2016-01-18 16:08:37 +01:00
parent 1abfdd76ea
commit d35151a59a
2 changed files with 4 additions and 0 deletions

View File

@ -273,6 +273,8 @@ notification_driver=messaging
#driver = <None>
{%- if server.get("assignment", {}).get("backend", "sql") == "ldap" %}
driver = keystone.assignment.backends.ldap.Assignment
{%- else %}
driver = keystone.assignment.backends.sql.Assignment
{%- endif %}

View File

@ -286,6 +286,8 @@ notification_driver=messaging
#driver = <None>
{%- if server.get("assignment", {}).get("backend", "sql") == "ldap" %}
driver = ldap
{%- else %}
driver = sql
{%- endif %}