From 0d3749e0629f16df59df536e23c2a0b8642a1814 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 14 Nov 2023 00:04:32 +0900 Subject: [PATCH] Enable horizon in scenario 002 ... to test installation of ironic-dashboard. Depends-on: https://review.opendev.org/900799 Change-Id: Ib8ad54cbee1b3002ff643083d6a97d28a25268c7 --- README.md | 2 +- fixtures/scenario002.pp | 5 +++++ manifests/horizon.pp | 8 ++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a3e832e5..dfd6dd91f 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ scenario](#all-in-one). | swift | | X | | | | | | sahara | | | X | | | | | trove | | | X | | | | -| horizon | | | X | X | X | X | +| horizon | | X | X | X | X | X | | ironic | | X | | | | | | zaqar | | X | | | | | | murano | | | X | | | | diff --git a/fixtures/scenario002.pp b/fixtures/scenario002.pp index 1317f3535..eaa02571f 100644 --- a/fixtures/scenario002.pp +++ b/fixtures/scenario002.pp @@ -91,6 +91,10 @@ class { 'openstack_integration::gnocchi': backend => 'swift', } +class { 'openstack_integration::horizon': + ironic_enabled => true +} + class { 'openstack_integration::tempest': aodh => true, barbican => true, @@ -98,6 +102,7 @@ class { 'openstack_integration::tempest': cinder => true, cinder_backup => true, gnocchi => true, + horizon => true, swift => true, ironic => true, zaqar => true, diff --git a/manifests/horizon.pp b/manifests/horizon.pp index 479a62fae..c5746ca85 100644 --- a/manifests/horizon.pp +++ b/manifests/horizon.pp @@ -8,6 +8,10 @@ # (optional) Flag to enable manila dashboard # Defaults to false. # +# [*ironic_enabled*] +# (optional) Flag to enable ironic dashboard +# Defaults to false. +# # [*octavia_enabled*] # (optional) Flag to enable octavia dashboard # Defaults to false. @@ -15,6 +19,7 @@ class openstack_integration::horizon ( $heat_enabled = false, $manila_enabled = false, + $ironic_enabled = false, $octavia_enabled = false, ) { @@ -73,6 +78,9 @@ class openstack_integration::horizon ( if $heat_enabled { class { 'horizon::dashboards::heat': } } + if $ironic_enabled { + class { 'horizon::dashboards::ironic': } + } if $octavia_enabled { class { 'horizon::dashboards::octavia': } }