Merge "Deprecate usage of authtoken parameters in providers"
This commit is contained in:
commit
3a7c5a4faf
@ -20,6 +20,7 @@ class Puppet::Provider::Trove < Puppet::Provider::Openstack
|
||||
end
|
||||
|
||||
def self.trove_request(service, action, error, properties=nil)
|
||||
warning('Usage of keystone_authtoken parameters is deprecated.')
|
||||
properties ||= []
|
||||
@credentials.username = trove_credentials['username']
|
||||
@credentials.password = trove_credentials['password']
|
||||
|
@ -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``
|
Loading…
Reference in New Issue
Block a user