Pass sysadmins list into node defs.
Pass the sysadmins list into each node definition. This allows us to retrieve the data from hiera rather than hard coding it in the puppet manifests. Also, update test script to use bogus sysadmin data when testing. Change-Id: Ide3560f16bce4d66fb95cc5021fc879476e6a712 Reviewed-on: https://review.openstack.org/12512 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
57cbf4c814
commit
a9650243aa
|
@ -9,6 +9,7 @@ fi
|
|||
|
||||
csplit -sf applytest/puppetapplytest manifests/site.pp '/^$/' {*}
|
||||
sed -i -e 's/^[^[:space:]]/#&/g' applytest/puppetapplytest*
|
||||
sed -i -e 's/hiera..sysadmins../["admin"]/' applytest/puppetapplytest*
|
||||
sed -i -e 's/hiera..listadmins../["admin"]/' applytest/puppetapplytest*
|
||||
sed -i -e 's/hiera.*/PASSWORD,/' applytest/puppetapplytest*
|
||||
for f in `find applytest -name 'puppetapplytest*' -print` ; do
|
||||
|
|
Loading…
Reference in New Issue