diff --git a/attributes/default.rb b/attributes/default.rb index 8eb6ae7..2d77bc1 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -163,6 +163,9 @@ default['openstack']['dashboard']['plugins'] = nil default['openstack']['dashboard']['file_upload_temp_dir'] = nil +# disable the v2 openrc download panel by default since v2 has been deprecated for a while +default['openstack']['dashboard']['show_keystone_v2_rc'] = 'False' + default['openstack']['dashboard']['error_log'] = 'openstack-dashboard-error.log' default['openstack']['dashboard']['access_log'] = 'openstack-dashboard-access.log' diff --git a/templates/default/local_settings.py.erb b/templates/default/local_settings.py.erb index 168b474..2869831 100644 --- a/templates/default/local_settings.py.erb +++ b/templates/default/local_settings.py.erb @@ -649,3 +649,6 @@ mod.INSTALLED_APPS += ('<%= p %>', ) <% if node["openstack"]["dashboard"]["file_upload_temp_dir"] %> FILE_UPLOAD_TEMP_DIR = "<%= node["openstack"]["dashboard"]["file_upload_temp_dir"] %>" <% end %> + +# Controls whether the keystone v2 openrc file is accessable from the user menu and the api access panel. +SHOW_KEYSTONE_V2_RC = <%= node['openstack']['dashboard']['show_keystone_v2_rc'] %>