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: I740270de4abe95be5223db4dbb9ce2ecbe93a7c0
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.
Change-Id: Icff5eab9ee9c59be99fb3029612bdb8602778093
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.
Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: I9f0aed7d3f2945a4e5195dbf0a3b122acb039a19
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
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: If0175f5719ec72871febcec04785d63f56fd3d2b