()
| 310 | print "Existing conf file [{fpath}] found.".format(**locals()) |
| 311 | |
| 312 | def check_conf(): |
| 313 | fpath = gdata['conf_path'] |
| 314 | if os.path.isfile(fpath): |
| 315 | with open(fpath) as data_file: |
| 316 | gdata["conf_data"] = json.load(data_file) |
| 317 | |
| 318 | def start_zk_client(opts): |
| 319 | zk_hosts = opts.zk_hosts |