The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: Id4cb6d9a840ea4f649c6a4ed3007422c1c0b630f
This change introduces the new purge_config parameter to the policy
class so that any policy rules not managed by puppet manifests can be
cleared.
Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Depends-On: https://review.opendev.org/802305
Change-Id: I44145c4a07b5f21680d2e32ca4bc3436edb191ba
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .
Change-Id: I8ab033c275f29a34a89a5ea9c2560c9992fd06cf
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: Ic5f73993ea4d71fc186272c624a906fcae2dcfa8
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
This patch updates tests that perform on Debian/RedHat sets to use
on_supported_os from rspec-puppet-facts.
Change-Id: I4b7bec3e0b314cda34e41bda3892847a23325bb9
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.
Change-Id: Ic3ff963064fcb34f86056d88b6f2dce5e270fedc