Use ambari-agent restart to prevent chef run error