From 4e78751391b1b367a2b0d7fa897309569d8e10a9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 10 Mar 2023 12:20:55 +0900 Subject: [PATCH] Enable horizon in scenario005 ... so that we can test manila-dsahboard deployment. Change-Id: I858f36a6344709c621fcd50377e86109cf66ddcf --- README.md | 2 +- fixtures/scenario005.pp | 4 ++++ manifests/horizon.pp | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 140ae1498..82555e050 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ scenario](#all-in-one). | swift | | | X | | | | | | sahara | | | | X | | | | | trove | | | | X | | | | -| horizon | | | | X | X | | X | +| horizon | | | | X | X | X | X | | ironic | | | X | | | | | | zaqar | | | X | | | | | | murano | | | | X | | | | diff --git a/fixtures/scenario005.pp b/fixtures/scenario005.pp index 88466756b..7b76f2fa0 100644 --- a/fixtures/scenario005.pp +++ b/fixtures/scenario005.pp @@ -60,6 +60,9 @@ class { 'openstack_integration::octavia': provider_driver => 'ovn' } +class { 'openstack_integration::horizon': + manila_enabled => true +} include openstack_integration::manila class { 'openstack_integration::provision': @@ -70,6 +73,7 @@ class { 'openstack_integration::provision': class { 'openstack_integration::tempest': cinder => true, + horizon => true, manila => true, octavia => true, neutron_driver => 'ovn', diff --git a/manifests/horizon.pp b/manifests/horizon.pp index a74311453..4203a51e7 100644 --- a/manifests/horizon.pp +++ b/manifests/horizon.pp @@ -4,12 +4,17 @@ # (optional) Flag to enable heat dashboard # Defaults to false. # +# [*manila_enabled*] +# (optional) Flag to enable manila dashboard +# Defaults to false. +# # [*octavia_enabled*] # (optional) Flag to enable octavia dashboard # Defaults to false. # class openstack_integration::horizon ( $heat_enabled = false, + $manila_enabled = false, $octavia_enabled = false, ) { @@ -73,4 +78,7 @@ class openstack_integration::horizon ( if $octavia_enabled { class { 'horizon::dashboards::octavia': } } + if $manila_enabled { + class { 'horizon::dashboards::manila': } + } }