Add function to automatically install sahara-ui

will install sahara-ui when Sahara is enabled

Per RDO request redhat-openstack/easyfix#14

Change-Id: Ie76641738411184ef757b40087ea1f03423dda39
This commit is contained in:
trilliams 2017-07-28 12:35:14 -05:00 committed by Alfredo Moralejo
parent 9680fac794
commit f1832eca17

View File

@ -56,6 +56,10 @@ class packstack::horizon ()
ensure_packages(['openstack-trove-ui'], {'ensure' => 'present'})
}
if hiera('CONFIG_SAHARA_INSTALL') == 'y' {
ensure_packages(['openstack-sahara-ui'], {'ensure' => 'present'})
}
include '::packstack::memcached'
$firewall_port = hiera('CONFIG_HORIZON_PORT')