Merge "Deprecate usage of authtoken parameters in providers"
This commit is contained in:
commit
00e988439b
@ -16,6 +16,7 @@ class Puppet::Provider::Mistral < Puppet::Provider::MistralWorkflowRequester
|
||||
end
|
||||
|
||||
def self.mistral_request(service, action, error, properties=nil)
|
||||
warning('Usage of keystone_authtoken parameters is deprecated.')
|
||||
properties ||= []
|
||||
@credentials.username = mistral_credentials['username']
|
||||
@credentials.password = mistral_credentials['password']
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``mistral_workflow`` resource type has been using the credential
|
||||
written in the ``[keystone_authtoken]`` section of ``mistral.conf``.
|
||||
However this behavior has been deprecated and now the resource types 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
Block a user