Is it possible to define a separate hiera.yaml for a given environment? Currently I am using dynamic environments. Each one has its own hiera data directory, per my hiera.yaml file.
:yaml:
:datadir: /var/lib/hiera/%{environment}
One drawback though is all of these environments are subject to the same hierarchy. I don't think this would work very well with many teams on a shared Puppet master.
So what is the best option, a dedicated Puppet master for each team that has a set of servers to maintain?