Merge "Add template option for the default horizon panel"

This commit is contained in:
Jenkins 2016-01-14 18:30:21 +00:00 committed by Gerrit Code Review
commit 6fa71688d8
4 changed files with 9 additions and 0 deletions

View File

@ -128,6 +128,9 @@ horizon_enable_neutron_lbaas: False
## Swift
horizon_swift_file_transfer_chunk_size: 524288
## Panel
horizon_default_panel: overview
horizon_webroot: /
horizon_listen_ports:

View File

@ -42,6 +42,7 @@
with_items:
- { src: "horizon_local_settings.py.j2", dest: "/etc/horizon/local_settings.py", mode: "0644" }
- { src: "horizon-manage.py.j2", dest: "{{ horizon_bin }}/horizon-manage.py", mode: "0755" }
- { src: "80_admin_default_panel.py.j2", dest: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_80_admin_default_panel.py", mode: "0755" }
notify: Restart apache2
tags:
- horizon-configs

View File

@ -164,6 +164,7 @@
- { path: "{{ horizon_lib_dir }}/static", mode: "2755" }
- { path: "{{ horizon_lib_dir }}/openstack_dashboard", mode: "2755" }
- { path: "{{ horizon_lib_dir }}/openstack_dashboard/local", mode: "2755" }
- { path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled", mode: "2755" }
tags:
- horizon-dirs

View File

@ -0,0 +1,4 @@
PANEL = '{{ horizon_default_panel }}'
PANEL_DASHBOARD = 'admin'
PANEL_GROUP = 'admin'
DEFAULT_PANEL = '{{ horizon_default_panel }}'