make zookeeper peer config more dynamic.