Add function to automatically install trove-ui

will install trove-ui when Trove is enabled.

Per RDO request redhat-openstack/easyfix#14

Change-Id: I5a7f9b8aba04ab9870cd00f02bec7ccfdd731b36
This commit is contained in:
trilliams
2017-07-28 12:03:20 -05:00
committed by Alfredo Moralejo
parent ffa8710992
commit 9680fac794

View File

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