Merge "Deprecate usage of authtoken parameters in providers"
This commit is contained in:
commit
627dfd3318
|
@ -18,6 +18,7 @@ class Puppet::Provider::Glance < Puppet::Provider::Openstack
|
|||
end
|
||||
|
||||
def self.glance_request(service, action, error, properties=nil)
|
||||
warning('Usage of keystone_authtoken parameters is deprecated.')
|
||||
properties ||= []
|
||||
@credentials.username = glance_credentials['username']
|
||||
@credentials.password = glance_credentials['password']
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``glance_image`` resource type has been using the credential written in
|
||||
the ``[keystone_authtoken]`` section of ``glance-api.conf``. However this
|
||||
behavior has been deprecated and now the resource type first looks 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.
|
Loading…
Reference in New Issue