Merge "Configure VPNaaS Horizon panel if q-vpn is enabled"

This commit is contained in:
Jenkins 2013-09-10 15:40:08 +00:00 committed by Gerrit Code Review
commit de11813c3e

@ -101,6 +101,11 @@ function init_horizon() {
_horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_firewall True
fi
# enable VPN dashboard in case service is enabled
if is_service_enabled q-vpn; then
_horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_vpn True
fi
# Initialize the horizon database (it stores sessions and notices shown to
# users). The user system is external (keystone).
cd $HORIZON_DIR