Hey,
I been stuck for a while with this now.
Thing is that I can't understand how tell puppetmaster to issue different environments for the agent. I see in Puppet Enterprise everything is explained very well and detailed, but in open source version everything looks very messy, there is no clear picture how things should look like.
The most confusing part here for me is that how to TEACH puppetmaster identify nodes and then assign them to appropriate environment?