On Apr 4, 2014, at 9:35 AM, Chris Handy wrote:

I am really looking forward to the complex data structures. I was wondering how this will work with hiera going forward, specifically with the hiera.yaml hierarchy? Lets say that my hierarchy uses "role" and "app" facts to determine which level of the hierarchy to invoke. Would I be able to use an array of "apps" and have it match somehow? I could also see how this would allow multiple "roles" to be defined as a fact and invoked as well.
Hi Chris, there's a related feature for an upcoming release of hiera to add support for looking up keys in nested data structures. I'm in airplane mode at the moment so I can't look up the JIRA ticket but it's slated for hiera 1.4.0, the next feature release, and should be out in the next couple of months.

Eric Sorenson - eric.sorenson@puppetlabs.com - freenode #puppet: eric0
puppet platform // coffee // techno // bicycles

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/609D2645-CEB3-4C15-B440-ACDA8F0BB4F3%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 8 | next ›
Discussion Overview
grouppuppet-users @
postedApr 1, '14 at 11:32p
activeApr 14, '14 at 11:07p



site design / logo © 2022 Grokbase