diff --git a/attributes/default.rb b/attributes/default.rb index 46de695..176cbf9 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -214,6 +214,7 @@ default['openstack']['dashboard']['password_autocomplete'] = 'off' default['openstack']['dashboard']['simple_ip_management'] = false default['openstack']['dashboard']['neutron']['enable_quotas'] = true default['openstack']['dashboard']['neutron']['enable_lb'] = false +default['openstack']['dashboard']['neutron']['enable_vpn'] = false # Allow for misc sections to be added to the local_settings template # For example: { # 'CUSTOM_CONFIG_A' => { diff --git a/templates/default/local_settings.py.erb b/templates/default/local_settings.py.erb index 2b686e9..8e85b4e 100644 --- a/templates/default/local_settings.py.erb +++ b/templates/default/local_settings.py.erb @@ -226,6 +226,7 @@ OPENSTACK_CINDER_FEATURES = { # balancer service, security groups, quotas, VPN service. OPENSTACK_NEUTRON_NETWORK = { 'enable_lb': <%= node['openstack']['dashboard']['neutron']['enable_lb'].to_s.capitalize %>, + 'enable_vpn' <%= node['openstack']['dashboard']['neutron']['enable_vpn'].to_s.capitalize %>, 'enable_quotas': <%= node['openstack']['dashboard']['neutron']['enable_quotas'] ? 'True' : 'False' %>, # The profile_support option is used to detect if an external router can be # configured via the dashboard. When using specific plugins the