-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hiera vault lookups slowing down puppet runs #22
Comments
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 #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:
The text was updated successfully, but these errors were encountered: