Merge "Quote OS_PASSWORD values in generated rc files"

This commit is contained in:
Jenkins 2017-07-11 11:29:47 +00:00 committed by Gerrit Code Review
commit 335f91ad2f
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class packstack::openstackclient ()
$rcadmin_common_content = "unset OS_SERVICE_TOKEN
export OS_USERNAME=${ost_cl_keystone_admin_username}
export OS_PASSWORD=${ost_cl_keystone_admin_pw}
export OS_PASSWORD='${ost_cl_keystone_admin_pw}'
export OS_AUTH_URL=${ost_cl_ctrl_keystone_url}
export PS1='[\\u@\\h \\W(keystone_admin)]\\$ '
"
@ -55,7 +55,7 @@ export OS_IDENTITY_API_VERSION=${int_api_version}
if hiera('CONFIG_PROVISION_DEMO') == 'y' {
$demo_common_content = "unset OS_SERVICE_TOKEN
export OS_USERNAME=demo
export OS_PASSWORD=${ost_cl_keystone_demo_pw}
export OS_PASSWORD='${ost_cl_keystone_demo_pw}'
export PS1='[\\u@\\h \\W(keystone_demo)]\\$ '
export OS_AUTH_URL=${ost_cl_ctrl_keystone_url}
"