Use FQDN to find the mgmt add for nsdb

Lets use FQDN since is is safer than using the
hostname.

Change-Id: I9aa2ce7e9ad0456a05bdc5a4a840f14e459f5dea
This commit is contained in:
Alex Ruiz Estradera 2016-11-30 16:42:08 +01:00
parent e298c21bae
commit 5c17cbe4f2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class { '::midonet_openstack::profile::zookeeper::midozookeeper':
class {'::midonet_openstack::profile::cassandra::midocassandra':
seeds => join(values($nsdb_mgmt_map),','),
seed_address => $nsdb_mgmt_map["${::hostname}"],
seed_address => $zoo_hash["${::fqdn}"]['host'],
require => File['/usr/java/default']
}