Merge "Deprecate usage of authtoken parameters in providers"
This commit is contained in:
@@ -22,6 +22,7 @@ class Puppet::Provider::Neutron < Puppet::Provider::Openstack
|
||||
end
|
||||
|
||||
def self.neutron_request(service, action, error, properties=nil)
|
||||
warning('Usage of keystone_authtoken parameters is deprecated.')
|
||||
properties ||= []
|
||||
@credentials.username = neutron_credentials['username']
|
||||
@credentials.password = neutron_credentials['password']
|
||||
|
@@ -0,0 +1,16 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The following resource types have been using the credential written in
|
||||
the ``[keystone_authtoken]`` section of ``neutron.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.
|
||||
|
||||
- ``neutron_network``
|
||||
- ``neutron_subnet``
|
||||
- ``neutron_port``
|
||||
- ``neutron_router``
|
||||
- ``neutron_router_interface``
|
||||
- ``neutron_security_group``
|
Reference in New Issue
Block a user