Deprecate cloudkitty::ui

The cloudkitty::ui class has been added to install the dashboard plugin
package. However the current implementation is incomplete and does not
define the required dependencies to install the plugin package before
starting the horizon service. Furthermore, the same can be achieved by
the horizon::dashboard resource type and that is considered to be more
"native" way.

This change deprecates the ui class so that we can get rid of it in
a future release.

Change-Id: I8eab557c13b3a6455a38b24732c692c5e823421a
This commit is contained in:
Takashi Kajinami 2022-02-13 13:00:04 +09:00
parent 3c3dc10c81
commit 0f89c9ab8f
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# == Class: cloudkitty::ui
#
# DEPRECATAD !!
# Installs & configure the cloudkitty ui component
#
# === Parameters
@ -15,6 +16,8 @@ class cloudkitty::ui (
include cloudkitty::deps
include cloudkitty::params
warning('The cloudkitty::ui class is deprecated. Use horizon::dashboard instead.')
package { 'cloudkitty-ui':
ensure => $package_ensure,
name => $::cloudkitty::params::ui_package_name,

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``cloudkitty::ui`` class has been deprecated and will be removed in
a future release.