Enable barbican cert manager in devstack
If barbican service is enabled, this patch enable barbican cert manager to store certificate. Change-Id: I93c60abac6e1542204434465b60c488eafcd8746 Partially-Implements: blueprint barbican-support
This commit is contained in:
parent
45a7152775
commit
d79b73144e
|
@ -186,8 +186,12 @@ function create_magnum_conf {
|
||||||
sudo mkdir -p $MAGNUM_LOCAL_CERT_DIR
|
sudo mkdir -p $MAGNUM_LOCAL_CERT_DIR
|
||||||
sudo chown $STACK_USER $MAGNUM_LOCAL_CERT_DIR
|
sudo chown $STACK_USER $MAGNUM_LOCAL_CERT_DIR
|
||||||
fi
|
fi
|
||||||
iniset $MAGNUM_CONF certificates storage_path "$MAGNUM_LOCAL_CERT_DIR"
|
if is_service_enabled barbican; then
|
||||||
iniset $MAGNUM_CONF certificates cert_manager_type "local"
|
iniset $MAGNUM_CONF certificates cert_manager_type "barbican"
|
||||||
|
else
|
||||||
|
iniset $MAGNUM_CONF certificates storage_path "$MAGNUM_LOCAL_CERT_DIR"
|
||||||
|
iniset $MAGNUM_CONF certificates cert_manager_type "local"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_heat_policy {
|
function update_heat_policy {
|
||||||
|
|
Loading…
Reference in New Issue