Deprecate redundant cinder::qos resource type

The cinder::qos resource type is just a wrapper of cinder_qos and
has no additional implementation. Let's deprecate it and let users
use the cinder_qos resource directly.

Change-Id: Ibe59fbf893a7169ea6e3bf00a72b4df28b780b14
This commit is contained in:
Takashi Kajinami
2021-12-17 09:01:56 +09:00
parent d944a76b95
commit d0419e4a1f
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# == Define: cinder::qos
#
# DEPRECATED !
# Creates cinder QOS and assigns properties and volume type
#
# === Parameters
@@ -24,6 +25,8 @@ define cinder::qos (
include cinder::deps
warning('The cinder::type is deprecated, please use the cinder_qos resource.')
cinder_qos { $name:
ensure => present,
properties => $properties,

View File

@@ -0,0 +1,5 @@
---
deprecations:
- |
The ``cinder::qos`` resource type has been deprecated.
Use the ``cinder_qos`` class directly instead.