Fix bootstrap failure for subclouds w/ complex passwords
This commit adds single quotes around user password parameter value to ensure that complex passwords are valid when user option setup script is executed by puppet bootstrap. Test Plan: PASS: Full build, system install, bootstrap and unlock DC system, with one subcloud bootstrapped and unlocked with active enabled available status. PASS: Add, bootstrap, manage and unlock a subcloud with a complex password containing special characters, numbers, capital letters and an open parenthesis at the end of the sentence. Closes-Bug: 2025292 Change-Id: Ia5430084bf6b16c78594a2483f2b88ec9b18f36a Signed-off-by: Manoel Benedito Neto <Manoel.BeneditoNeto@windriver.com>
This commit is contained in:
parent
bad31f6be6
commit
23479e7183
@ -201,7 +201,7 @@ define openstack::keystone::user::option (
|
||||
exec { "Set user ${username} option ${option} to ${option_value}":
|
||||
command => @("EOC"/L),
|
||||
/usr/local/bin/set_keystone_user_option.sh \
|
||||
${admin_username} ${admin_password} ${auth_url} ${username} ${option} ${option_value}
|
||||
${admin_username} '${admin_password}' ${auth_url} ${username} ${option} ${option_value}
|
||||
| EOC
|
||||
logoutput => true,
|
||||
provider => shell,
|
||||
|
Loading…
x
Reference in New Issue
Block a user