Getting the value of a key in a hash whereby the key can be at a different level in the hash each time #24
Unanswered
Pixelshifter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose I have the following two hashes (Hieradata):
hash 1:
hash 2:
How can I, within my Puppet-manifest, get the value from
proxy_pass
as dynamically as possible?$nginx_config = lookup(nginx::nginx_servers)
And after this I wanna parse the $nginx_config but before Googling another three hours maybe someone here has had the same challenge as me before and has a solution? Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions