Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 257

Dynamically add Files to Hiera

$
0
0
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/*` and Hiera will just read from all files that are under the `delegated` folder. I wasn't able to find how to achieve my goal. What is the correct approach here? Thanks

Viewing all articles
Browse latest Browse all 257

Trending Articles