Separating production and development environments
I have I think three different ways to accomplish this:
1)Hiera and custom fact, custom fact depends if it is PRD or DEV, hiera works using custom fact. 2)Install a new environment called DEV on puppetmaster, add agents in an agent-specified environment node group belonging to the DEV environment. 3)Modify puppet.conf on the agents by specifying the environment.
Please advise if all these methods are correct.