Automatically install magnum-ui

Added function to automatically install magnum-ui dashboard plugins
when Magnum is enabled.

Per RDO request https://github.com/redhat-openstack/easyfix/issues/14

Change-Id: Ida389f5d63615a0931a630ede07744f1138a6f9c
This commit is contained in:
trilliams 2017-07-28 11:32:13 -05:00 committed by Javier Peña
parent c4740922a0
commit 77b5afbd68
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ class packstack::horizon ()
ensure_packages(['openstack-neutron-lbaas-ui'], {'ensure' => 'present'})
}
if hiera('CONFIG_MAGNUM_INSTALL') == 'y' {
ensure_packages(['openstack-magnum-ui'], {'ensure' => 'present'})
}
include '::packstack::memcached'
$firewall_port = hiera('CONFIG_HORIZON_PORT')