Use listen option to listen for the host and port for designate
The "api_host" and "api_port" options from group "service:api" have been deprecated in favor of the listen option setting. The "port" and "host" opitions are same. Change-Id: Iab54d400ca08bc99a4f634ca7ce3b1996d379c26 Depends-On: https://review.openstack.org/#/c/403967/ Depends-On: https://review.openstack.org/#/c/399941/
This commit is contained in:
parent
d78aa7a46a
commit
564a6bfd12
@ -57,7 +57,7 @@ class openstack_integration::designate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class { '::designate::api':
|
class { '::designate::api':
|
||||||
api_host => $::openstack_integration::config::host,
|
listen => "${::openstack_integration::config::host}:9001",
|
||||||
api_base_uri => "http://${::openstack_integration::config::ip_for_url}:9001",
|
api_base_uri => "http://${::openstack_integration::config::ip_for_url}:9001",
|
||||||
auth_strategy => 'keystone',
|
auth_strategy => 'keystone',
|
||||||
enable_api_v2 => true,
|
enable_api_v2 => true,
|
||||||
@ -66,8 +66,7 @@ class openstack_integration::designate {
|
|||||||
|
|
||||||
# IPv6 doesn't work for mdns ? https://bugs.launchpad.net/designate/+bug/1501396
|
# IPv6 doesn't work for mdns ? https://bugs.launchpad.net/designate/+bug/1501396
|
||||||
class { '::designate::mdns':
|
class { '::designate::mdns':
|
||||||
host => '127.0.0.1',
|
listen => '127.0.0.1:5354'
|
||||||
port => '5354',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class { '::designate::central':
|
class { '::designate::central':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user