From 0f89c9ab8fccbe7840dda5ad5309a12784e417ef Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 13 Feb 2022 13:00:04 +0900 Subject: [PATCH] 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 --- manifests/ui.pp | 3 +++ releasenotes/notes/deprecate-ui-c0d9ab54c28b1764.yaml | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/deprecate-ui-c0d9ab54c28b1764.yaml diff --git a/manifests/ui.pp b/manifests/ui.pp index c4e7eb1..dc81bd6 100644 --- a/manifests/ui.pp +++ b/manifests/ui.pp @@ -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, diff --git a/releasenotes/notes/deprecate-ui-c0d9ab54c28b1764.yaml b/releasenotes/notes/deprecate-ui-c0d9ab54c28b1764.yaml new file mode 100644 index 0000000..85b7663 --- /dev/null +++ b/releasenotes/notes/deprecate-ui-c0d9ab54c28b1764.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The ``cloudkitty::ui`` class has been deprecated and will be removed in + a future release.