Merge "Deprecate usage of authtoken parameters in providers"

This commit is contained in:
Zuul 2023-11-17 18:16:06 +00:00 committed by Gerrit Code Review
commit 3a7c5a4faf
2 changed files with 13 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class Puppet::Provider::Trove < Puppet::Provider::Openstack
end end
def self.trove_request(service, action, error, properties=nil) def self.trove_request(service, action, error, properties=nil)
warning('Usage of keystone_authtoken parameters is deprecated.')
properties ||= [] properties ||= []
@credentials.username = trove_credentials['username'] @credentials.username = trove_credentials['username']
@credentials.password = trove_credentials['password'] @credentials.password = trove_credentials['password']

View File

@ -0,0 +1,12 @@
---
deprecations:
- |
The following resource types have been using the credential written in
the ``[keystone_authtoken]`` section of ``trove.conf``. However this
behavior has been deprecated and now these resource types first look for
the yaml files in ``/etc/openstack/puppet``. Make sure one of
``clouds.yaml`` or ``admin-clouds.yaml`` (which is created by
puppet-keystone) is created in that directory.
- ``trove_datastore``
- ``trove_datastore_version``