Enable creation of keystone domain when ldap backends are created
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 7 Apr 2017 07:09:11 +0000 (10:09 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Sat, 8 Apr 2017 05:14:49 +0000 (05:14 +0000)
commitb14631aae1afb30a7173246245d646ffb2dcbdb9
tree2209e4121d1189dce41b78fec19b2f5bae0521a1
parent60f3eeba659b8c8a96e648172a37f079575646f6
Enable creation of keystone domain when ldap backends are created

This sets the flag create_domain_entry for the ldap_backend resource,
which will create the domain for the ldap backend (this was previously
not the case since only the configuration was created). Furtherly, this
flag will also refresh the keystone server, so the changes come into
effect.

Note that this is only done in step 3, so the domains are created there
and the refresh happens in that step. Also, this is only done for the
bootstrap node, since when the other nodes start, they will already have
the domains available in the keystone database and there won't be a need
to restart.

Related-Bug: #1677603
Depends-On: Ib6c633b6a975e4b760c10a2aef3c252885b05e28
Change-Id: Id879cf5c5ae39d37bf58b73c78733001d2b03d9c
(cherry picked from commit 13ea87e658e36d1afcc3e4db7f43bcfc068e1f49)
manifests/profile/base/keystone.pp