You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.
I changed :datadir: from /etc/puppet/hieradb to /etc. So ../../ in hierarchy: is not needed anymore.
This is my solution. It's still an issue but in my opinion, you can close it because the result without ../../ looks better, too.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have hiera databases inside /etc/puppet and outside. So the trocla_hierarchy path can have dots.
We create a password with
"%{hiera('trocla_hierarchy::plain::test')}"
for the puppet node "xyz".Result:
We try to access the passwords with
"%{hiera('trocla_lookup::plain::hiera/../../hieradb/nodes/xyz/test')}"
.As a result we get this additional entry in
trocla.yaml
(key has the dots removed):With
trocla get 'hiera/../../hieradb/nodes/xyz/test' plain
we get the expected password.The text was updated successfully, but these errors were encountered: