Deprecate redundant defined type

The murano::application defined type is just a wrapper of
the murano_application resource type and does not contain quite useful
logic. We can deprecate the defined type and let users us the raw
resource type instead.

Change-Id: I63e90ce95c80f4f2f39ead858996e0545bb1f2c7
This commit is contained in:
Takashi Kajinami 2023-02-15 17:12:01 +09:00
parent fdd971ec5d
commit 7ddca05c7b
2 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,9 @@ define murano::application (
include murano::deps
warning("The murano::application defined type is deprecated. \
Use the murano_application resource type instead.")
$package_path="/var/cache/murano/meta/${package_name}.zip"
murano_application { $package_name:

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The ``murano::application`` defined resource type has been deprecated and
will be removed in a future release. Use the ``murano_application``
resource type instead.