This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.
This change covers the following two items.
- assignment of system scope roles to system user
- credential parameters for authtoken middleware
Depends-on: https://review.opendev.org/804325
Change-Id: Ifbe407233c0739038f23c645f2bd544a409bb1cd
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.
Change-Id: Ie45acd6bc5805dc84527817fc81075752bc48868
This change updates the gnocchi::keystone::auth class to include a default
service_name of 'gnocchi' so that if a user changes the auth_name, the
service is still created as being related to 'gnocchi'. This improves the
user experiance when they want to customize the usernames for services.
Additional changes:
* update related spec test
* add a release note
* add the service_description option in order to configure it
Change-Id: Iaca2fe1ec33041593ddc8ee9b7bd7a0cd31f1f3f
Closes-Bug: #1590040
This change updates the gnocchi tests to use rspec-puppet-facts to test
multiple operating systems.
Change-Id: I56545ff69c2db76be5db5ee6dca36ec9cbc6e801
This patch rewrite puppet-gnocchi to be compliant with other modules.
It takes example at how puppet-aodh was written.
* Update init.pp to match Gnocchi requirements
* Update config.pp
* Add policy.pp
* Add storage.pp for carbonara
* Update db configuration
* Update keystone/auth.pp
* Add acceptance for API service for Centos only (not packaged on Ubuntu)
* Update unit tests
Change-Id: I82400b1e30f3700ab7a3d006b6bb143351bcc830
https://review.openstack.org/#/c/228744/ has been merged, we need to
drop the 'tenant' parameter to Keystone_user resource.
Change-Id: Iaf20e084ee044c0cfba4859f0f0dc36ad8ef44b8
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.
In details:
* Use shared_examples "a Puppet::Error" for puppet::error tests
* Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
* Fix spec tests for rspec-puppet 2.0.0
* Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
* Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
Change-Id: I30c00e2cb6f92778a0cf0556c861a2f1ee84bbed
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant