fuel-plugin-ldap/deployment_scripts/puppet/modules/plugin_ldap/lib
Mykyta Karpin 7cf2e0f36e Rewrite additional domains generation
This patch makes use of Puppet native function
create_resources() in order to generate
Keystone domain resources from hash
provided by parce_it() function.

This approach required modification of parce_it()
function so it can parse list of additional domains strings
and generate a hash in form of:

domain1_name => { property1 => value1,
                  property2 => value2,
                  .....
                  propertyx => valuex },
domain2_name => { property1 => value1,
                  property2 => value2,
                  .....
                  propertyx => valuex },
.....and so on

This form of hash is suitable to be taken by create_resources()
function. Puppet define plugin_ldap::multiple_domain
was also modified to comply with create_resources()
function.

Change-Id: I14321af5efa18f1381a51668ed1c5c50c06a0002
Closes-Bug: #1658655
2017-02-13 11:02:49 +02:00
..
puppet Rewrite additional domains generation 2017-02-13 11:02:49 +02:00