print array of keys from a nested hash
Hi, I have a nested hiera hash like the following:
uat_rev3: node1: hostname: host1 http_port: 3011 node2: hostname: host2 http_port: 3011
I want to store the value "node1,node2" in a variable. Can you please suggest a good way of doing that? is there a hiera function i can use to get that information.
Thanks a lot for your help.