I'm running puppet 4 and I would like to generate several config files from the same template with different configurations for each one.
for example :
# cat /tmp/a.conf
test1
# cat /tmp/b.conf
test2
And I need to put all those informations in hiera, so something like that I think :
test::clusters:
- 'a.conf'
text: 'test1'
- 'b.conf'
text: 'test2'
Thx