updated for puppet_master variable.