Merge "Remove separate class for virtlogd arbitrary configurations"

This commit is contained in:
Zuul
2022-04-26 09:34:07 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 34 deletions

View File

@@ -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)
}

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
The ``nova::compute::libvirt::virtlogd::config`` class has been removed.
Use the ``nova::compute::libvirt::config`` class instead.