From ffa8710992edf68c48db99f4c03fbfe5ec75b980 Mon Sep 17 00:00:00 2001 From: trilliams Date: Fri, 28 Jul 2017 12:00:04 -0500 Subject: [PATCH] Add function to automatically install ironic-ui Will install ironic-ui if ironic is enabled Per RDO request redhat-openstack/easyfix#14 Change-Id: I8ec8313da3e14a438c7e854b09a8f58350259e6c --- 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 9958f76a9..d05204af3 100644 --- a/packstack/puppet/modules/packstack/manifests/horizon.pp +++ b/packstack/puppet/modules/packstack/manifests/horizon.pp @@ -48,6 +48,10 @@ class packstack::horizon () ensure_packages(['openstack-magnum-ui'], {'ensure' => 'present'}) } + if hiera('CONFIG_IRONIC_INSTALL') == 'y' { + ensure_packages(['openstack-ironic-ui'], {'ensure' => 'present'}) + } + include '::packstack::memcached' $firewall_port = hiera('CONFIG_HORIZON_PORT')