Open quanghiem opened 8 years ago
This is expected behaviour, see https://github.com/jsok/hiera-vault/blame/master/README.md#L138 for details.
Yes. And this is exactly the reason for #10
We solved this for our installation in a different way by writing our own intermediate hiera-backend: https://rubygems.org/gems/hiera-router
The hiera-router basically redirects some hiera requests to other hiera-backends (like vault) based on the content of the yaml-entry... Constructive feedback is appreciated.
I have a solution for this problem which was suited to our particular requirement, it maybe applicable to others https://github.com/jsok/hiera-vault/pull/33
I have vault setup and installed the hiera-vault gem on my puppetserver. When I enable the vault backend, my puppet apply runs go from a few seconds to a few minutes. The client is suck on
Info: Loading facts
. The puppetserver logs show hundreds of api calls to vault by every hiera enabled module multiplied by how many hierarchy I have listed. Is this normal?Here is my hiera.yaml:
Here is a excerpt of the puppetserver logs: