From 564a6bfd121ceee52e0301aabb4c1539d8ddeecd Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 29 Nov 2016 10:38:24 +0800 Subject: [PATCH] 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/ --- manifests/designate.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manifests/designate.pp b/manifests/designate.pp index ea160b1a8..a82c1fc4f 100644 --- a/manifests/designate.pp +++ b/manifests/designate.pp @@ -57,7 +57,7 @@ class openstack_integration::designate { } 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", auth_strategy => 'keystone', 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 class { '::designate::mdns': - host => '127.0.0.1', - port => '5354', + listen => '127.0.0.1:5354' } class { '::designate::central':