Skip to content

Commit

Permalink
Merge "Fix zookeeper provisioning regex issue. Closes-Bug:1568694"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 14, 2016
2 parents d4cc084 + 7fa8bb4 commit 68e0a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrail_provisioning/database/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def fixup_kafka_server_properties(self, listen_ip):
#Add all the zoo keeper server address to the server.properties file
zk_list = [server + ":2181" for server in self._args.zookeeper_ip_list]
zk_list_str = ','.join(map(str, zk_list))
self.replace_in_file(KAFKA_SERVER_PROPERTIES, 'zookeeper.connect=*', 'zookeeper.connect='+zk_list_str)
self.replace_in_file(KAFKA_SERVER_PROPERTIES, 'zookeeper.connect=.*', 'zookeeper.connect='+zk_list_str)
self.replace_in_file(KAFKA_SERVER_PROPERTIES, '#advertised.host.name=<hostname routable by clients>',\
'advertised.host.name='+listen_ip)

Expand Down

0 comments on commit 68e0a8d

Please sign in to comment.