Am Donnerstag, 14. April 2016 18:32:24 UTC+2 schrieb [email protected]: > > Hi, > We need to manage many keys in Hiera. Since many people should be able to > edit the keys and in order to avoid a complete mess I was thinking to work > with many different files. The problem is that I don't know how to make > Hiera read from new files. I don't want to add each file to the hierarchy > explicitly. > Optimally I would add something like that > /etc/puppetlabs/code/enironments/%{::environment}/hieradata/delegated/* > > IMHO this is not possible.
maybe another backend might be of interest for you: https://github.com/crayfishx/hiera-http https://github.com/crayfishx/hiera-mysql or you create a file-change-listener (for example with inotify-tools https://github.com/rvoicilas/inotify-tools) which monitors delegated/* to dynamically recreate delegated.yaml. There is even the fancy option to call a systemd job on every change in a directory IMHO (not used myself yet). - Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1b0a9a61-2289-42eb-8770-48e5d7e3a78f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
