How to instantiate multiple instances of the same resource using Hiera
Use hashes for your data and use create_resources
to instantiate.
The Puppet documentation has an example for users. The StackOverflow question Puppet hiera and create_resource issue covers basically the same problem.