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>
Fri, 7 Apr 2017 07:12:54 +0000 (10:12 +0300)
commit13ea87e658e36d1afcc3e4db7f43bcfc068e1f49
tree2dd77077f3fe45ca6756b9784a9c5ef501e0b003
parenta05be0f0be6d72745e41a889246ad947d7a8c9d1
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
manifests/profile/base/keystone.pp