From f1832eca17e06f8d6cea800d087d461775743890 Mon Sep 17 00:00:00 2001 From: trilliams Date: Fri, 28 Jul 2017 12:35:14 -0500 Subject: [PATCH] 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 --- packstack/puppet/modules/packstack/manifests/horizon.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packstack/puppet/modules/packstack/manifests/horizon.pp b/packstack/puppet/modules/packstack/manifests/horizon.pp index e65744bad..9ae5d0d57 100644 --- a/packstack/puppet/modules/packstack/manifests/horizon.pp +++ b/packstack/puppet/modules/packstack/manifests/horizon.pp @@ -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')