Skip to content

Commit 6e78112

Browse files
committed
Make barbican setting test case insensitive
For some reason, the setting sometimes comes in as True instead of "true". Lets just make this more robust and make the check case-insensitive.
1 parent c4a2ca8 commit 6e78112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devsetup/standalone/openstack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ resource_registry:
125125
EOF
126126
ENV_ARGS+=" -e $HOME/enable_heat.yaml"
127127
fi
128-
if [ "$BARBICAN_ENABLED" = "true" ]; then
128+
if [ "${BARBICAN_ENABLED,,}" = "true" ]; then
129129
ENV_ARGS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/services/barbican.yaml"
130130
ENV_ARGS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/barbican-backend-simple-crypto.yaml"
131131
fi

0 commit comments

Comments
 (0)