Replace api_host/api_port with listen
According to the Designate upgrade notes[1], the options api_host and api_port have been deprecated with OpenStack Newton, and they do not work with the Queens release. [1] designate-api’s api_host and api_port configuration options have been deprecated, please use the new combined “listen” argument in place of these. https://docs.openstack.org/releasenotes/designate/newton.html Change-Id: I04e9680e3b850b8a7cc5b7557c430e5453602956
This commit is contained in:
parent
8ffa02d1eb
commit
61b240c48e
|
@ -8,7 +8,7 @@ license 'Apache-2.0'
|
|||
description 'Installs and configures the Designate Service'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
chef_version '>= 12.5' if respond_to?(:chef_version)
|
||||
version '17.0.1'
|
||||
version '17.0.2'
|
||||
|
||||
%w(ubuntu redhat centos).each do |os|
|
||||
supports os
|
||||
|
|
|
@ -71,8 +71,7 @@ identity_endpoint = internal_endpoint 'identity'
|
|||
# define attributes that are needed in designate.conf
|
||||
node.default['openstack']['dns']['conf'].tap do |conf|
|
||||
conf['database']['connection'] = sql_connection
|
||||
conf['listen']['api_host'] = bind_address api_bind
|
||||
conf['listen']['api_port'] = api_bind['port']
|
||||
conf['service:api']['listen'] = "#{bind_address api_bind}:#{api_bind['port']}"
|
||||
conf['keystone_authtoken']['auth_url'] = identity_endpoint.to_s
|
||||
conf['keystone_authtoken']['www_authenticate_uri'] = identity_endpoint.to_s
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue