AMBARI-6488. Move global to env in stack definitions (aonishuk)