def lock(instance_id, profile=None):
 conn = _auth(profile)
 return conn.lock(instance_id)

def lock ( instance_id , profile = None ) : conn = _auth ( profile ) return conn . lock ( instance_id )
get lock path the path in zookeeper where the lock is zk_hosts zookeeper connect string identifier name to identify this minion .