add tmp_dir for ambari agent