7 Commits

Author SHA1 Message Date
Takashi Kajinami
b5c5d7acc3 Rename nova_paste_api_ini to nova_api_paste_ini
... so that the name is consistent with the other puppet modules.

Change-Id: I8237b7760f3f7a7bf2806524b2582ef85d3bc6d5
2020-05-03 00:34:19 +09:00
Tobias Urdin
7deecfbdf2 Convert all class usage to relative names
Change-Id: Ibe5a433cb67c38c0c9b05a50bffa2eda7391f241
2019-12-08 23:13:08 +01:00
Tobias Urdin
abf035e3b0 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: I53648532bc2aa7031f33b82e2b8486f6927be49d
2019-02-25 22:04:31 +01:00
Clayton O'Neill
cb77bc295f Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: I0b524e354b095f2642fd38a2f88536d15bcdf855
2015-12-08 10:14:11 -05:00
Sebastien Badia
cc70740a31 Add missing puppetdoc and lint all parameter documentation
Un-pin puppet-lint gem and add puppet-lint-param-docs, this commit also
add missing puppetdoc.

Change-Id: Id9843816fc3106f4d2e2052e1cdf4fd18efc194b
2015-03-19 18:42:47 +01:00
Xingchao Yu
133d5da118 Update nova::config example description.
The original example in nova::config is syntax invalid.
Besides fixing that, this patch also gives an example in yaml format.

Change-Id: I2f044392becd9e46cc8346030095a029464c5ea0
Closes-bug: #1301700
2014-04-03 14:41:56 +08:00
Mathieu Gagné
4018835632 Introduce nova::config
Add a new class nova::config which allows the creation and
management of arbitrary nova_config and nova_api_paste_ini resources.

This will add the ability for the end user to use Hiera to manage
those resources.

Change-Id: Iad7a2b764884887a75f5f6db3e1660644e07c5c0
Closes-bug: #1290634
2014-03-22 00:19:59 -04:00