Commit Graph

7 Commits

Author SHA1 Message Date
Takashi Kajinami 3021cd9daf replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Depends-on: https://review.opendev.org/c/openstack/puppet-openstacklib/+/885996
Change-Id: I144468b4f5536a48702e457f2a5db879f3ca217a
2023-06-23 09:26:59 +09:00
Tobias Urdin 5f6411c3dd Convert all class usage to relative names
Change-Id: I9982b8476ca9dab8a338b66db75d6da6519f9266
2019-12-08 23:07:36 +01:00
Tobias Urdin e46b67d242 Use validate_legacy
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
2019-02-23 14:52:57 +01:00
ZhongShengping df8fe7fde4 Add api_paste type/provider for Heat
Add the capability to configure api-paste.ini with config.pp.
Closes-bug: #1483371

Change-Id: Ide505a7cc0ed2e5a64db0fca0a6ae0c1ba7a3a7e
2016-02-17 14:24:45 +08:00
hgangwx b898edf90a Wrong usage of "an"
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
2015-12-30 20:04:53 +08:00
Clayton O'Neill dca9fe942b Move deps & external hooks into a standalone class
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
2015-10-20 09:57:36 -04:00
Yanis Guenane 1b1f7ca0ab Add heat::config class
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
2015-07-16 15:28:51 +02:00