Skip to content

Commit

Permalink
Load murano dashboard dynamic
Browse files Browse the repository at this point in the history
* Add ENABLE_MURANO environment in horizon
* Add murano related setting in local_settings.j2 file

Change-Id: I172b6d07536210623b2e2066ba4f1cc768479e33
Closes-Bug: #1640679
  • Loading branch information
jeffrey4l committed Jan 21, 2017
1 parent 4b5b149 commit f3ea03d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ansible/group_vars/all.yml
Expand Up @@ -289,6 +289,7 @@ enable_horizon_ironic: "{{ enable_ironic | bool }}"
enable_horizon_magnum: "{{ enable_magnum | bool }}"
enable_horizon_manila: "{{ enable_manila | bool }}"
enable_horizon_mistral: "{{ enable_mistral | bool }}"
enable_horizon_murano: "{{ enable_murano | bool }}"
enable_horizon_neutron_lbaas: "{{ enable_neutron_lbaas | bool }}"
enable_horizon_sahara: "{{ enable_sahara | bool }}"
enable_horizon_searchlight: "{{ enable_searchlight | bool }}"
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/horizon/tasks/start.yml
Expand Up @@ -11,6 +11,7 @@
ENABLE_MAGNUM: "{{ 'yes' if enable_horizon_magnum | bool else 'no' }}"
ENABLE_MANILA: "{{ 'yes' if enable_horizon_manila | bool else 'no' }}"
ENABLE_MISTRAL: "{{ 'yes' if enable_horizon_mistral | bool else 'no' }}"
ENABLE_MURANO: "{{ 'yes' if enable_horizon_murano | bool else 'no' }}"
ENABLE_NEUTRON_LBAAS: "{{ 'yes' if enable_horizon_neutron_lbaas | bool else 'no' }}"
ENABLE_SAHARA: "{{ 'yes' if enable_horizon_sahara | bool else 'no' }}"
ENABLE_SEARCHLIGHT: "{{ 'yes' if enable_horizon_searchlight | bool else 'no' }}"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/horizon/templates/local_settings.j2
Expand Up @@ -455,7 +455,7 @@ TIME_ZONE = "UTC"
# target installation.

# Path to directory containing policy.json files
POLICY_FILES_PATH = '/etc/openstack-dashboard'
#POLICY_FILES_PATH = '/etc/openstack-dashboard'

# Map of local copy of service policy files.
# Please insure that your identity policy file matches the one being used on
Expand Down
1 change: 1 addition & 0 deletions etc/kolla/globals.yml
Expand Up @@ -141,6 +141,7 @@ kolla_internal_vip_address: "10.10.10.254"
#enable_horizon_magnum: "{{ enable_magnum | bool }}"
#enable_horizon_manila: "{{ enable_manila | bool }}"
#enable_horizon_mistral: "{{ enable_mistral | bool }}"
#enable_horizon_murano: "{{ enable_murano | bool }}"
#enable_horizon_neutron_lbaas: "{{ enable_neutron_lbaas | bool }}"
#enable_horizon_sahara: "{{ enable_sahara | bool }}"
#enable_horizon_searchlight: "{{ enable_searchlight | bool }}"
Expand Down

0 comments on commit f3ea03d

Please sign in to comment.