From c83a139e864addea2a9758fba83c098ece9aec52 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 24 Apr 2022 01:09:59 +0900 Subject: [PATCH] Remove separate class for virtlogd arbitrary configurations ... because it was deprecated during Xena cycle[1]. [1] d2aaab3683019a40bb8495f71c530657e198447b Change-Id: Iad7bb03d07398d54b76ab87c922714eceea189de --- manifests/compute/libvirt/virtlogd/config.pp | 34 ------------------- ...rate-libvirtd-config-281da6b651740a61.yaml | 5 +++ 2 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 manifests/compute/libvirt/virtlogd/config.pp create mode 100644 releasenotes/notes/remove-separate-libvirtd-config-281da6b651740a61.yaml diff --git a/manifests/compute/libvirt/virtlogd/config.pp b/manifests/compute/libvirt/virtlogd/config.pp deleted file mode 100644 index 80efb9ae6..000000000 --- a/manifests/compute/libvirt/virtlogd/config.pp +++ /dev/null @@ -1,34 +0,0 @@ -# == Class: nova::compute::libvirt::virtlogd::config -# -# DEPRECATED ! -# This class is used to manage arbitrary virtlogd configurations. -# -# === Parameters -# -# [*virtlogd_config*] -# (optional) Allow configuration of arbitrary virtlogd configurations. -# The value is an hash of virtlogd_config resources. Example: -# { 'foo' => { value => 'fooValue'}, -# 'bar' => { value => 'barValue'} -# } -# In yaml format, Example: -# virtlogd_config: -# foo: -# value: fooValue -# bar: -# value: barValue -# -# NOTE: The configuration MUST NOT be already handled by this module -# or Puppet catalog compilation will fail with duplicate resources. -# -class nova::compute::libvirt::virtlogd::config ( - $virtlogd_config = {}, -) { - - warning('The nova::compute::libvirt::virtlogd::config class has been deprecated. \ -Use the nova::compute::libvirt::config::virtlogd_config parameter.') - - validate_legacy(Hash, 'validate_hash', $virtlogd_config) - - create_resources('virtlogd_config', $virtlogd_config) -} diff --git a/releasenotes/notes/remove-separate-libvirtd-config-281da6b651740a61.yaml b/releasenotes/notes/remove-separate-libvirtd-config-281da6b651740a61.yaml new file mode 100644 index 000000000..5746707cb --- /dev/null +++ b/releasenotes/notes/remove-separate-libvirtd-config-281da6b651740a61.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The ``nova::compute::libvirt::virtlogd::config`` class has been removed. + Use the ``nova::compute::libvirt::config`` class instead.