-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Config file merging issue #706
Comments
I don't think you are, no. I'll dig into this. |
@justintime Is there any chance you can share your configs? I can't replicate this. I have the following config.hcl:
and a
I put in a panic and print statements to print out the seen paths and the final config, here's what I see:
You can see |
Sigh I found my problem. Closing this and reopening the other issue. |
Reopening the other? Wuh oh. What's going wrong? |
I've come across what I think is a bug in config file merging in vault.
My use case is that I'm using a chef community cookbook, and it manages /etc/vault.hcl for me. Rather than try to push changes upstream, I figured I could just create a /etc/vault.hcl.d directory, and stick my config changes in there.
According to help, it sounds like I can do this:
Here's my server command line:
/usr/local/bin/vault server -config=/etc/vault.hcl -config=/etc/vault.hcl.d -log-level=info
And here's what I have in the .d directory:
However, the read cache is not getting disabled when I start vault. If I move the disable_cache statement to /etc/vault.hcl and restart, I get the desired behavior.
Am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered: