tomd/gcarlyle: extract variable for the environment in which the puppetmaster should be crated