This changes all the puppet 3 validate_* functions
to use the validate_legacy function.
The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.
This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].
[1] https://review.openstack.org/#/c/568929/
Change-Id: I422be4bfb6fd6f73f0b24ae9464c5c85689594e1
Wrong usage of "an" in the messages:
"The value is an hash of heat_config resources"
Should be:
"The value is a hash of heat_config resources"
Totally 1 occurrence in puppet-heat base code.
Change-Id: I0d449ca9411da303772351e07eaa53331ed27aff
Previously the anchors and dependencies that allow external hooks were
all in the main ::heat class. However, if you wanted to include just
::heat::db::mysql, then it would fail, since it assumed the main heat
class was included. This moves all of those resources and relationships
into a new class, ::heat::deps. All of the classes will now include
this class so that the anchors and deps are always evaluated even if
only a portion of the classes are used, and even if ::heat isn't pulled
in.
Change-Id: I4297df160a7afae2b66c1ac76e37de313fa4fb09
Closes-Bug: #1507934
Other modules provide an X::config class to be able to specify
parameters that are not yet part of the module. Heat was missing this
feature.
This commit aims to add it for puppet-heat.
Change-Id: Ie481598ee4a1b2c451a1e8bddd5faa526d15ef30