Closed danzilio closed 8 years ago
If you're willing to merge this, I'll update the docs too!
really think less is more when it comes to choices in this one :) the PL guys are busy rewriting the entire hiera and this seems to include data in modules. Lets see how that pans out before you start relying on anything like this. Judging by the ticket traffic it's not far in the future
haha ok, i figured as much! this module has really changed the way we do hiera, especially for our legacy stuff. thanks for writing it!
This commit adds support for a provider for this backend. I love this backend but I really hate YAML. I also hate JSON. HOCON is a good compromise. I've added provider support for JSON and HOCON. We still default to YAML for the provider but this allows users to define a data provider in their module's
hiera.yaml
using the:provider
key.I know you've been hesitant to add something like this in the past, but it's worth a try ;-)