On 08/30/2014 12:26 PM, Poil wrote: > Hi, > > I've go a fact "cfn_roles" that is an array > Is it possible to use it in hierarchy ? > > For exemple : > > * my fact : > cfn_roles: > - apache > - mysql > > And my hierarchy > |:hierarchy: > - "%{::roles}"| > hiera will try each entry of cfn_roles ? > > Best regards,
We've had pull requests to that effect, but it was decided that supporting array expansion in the hierarchy at that level was too dangerous to just allow off hand. So, no, you cannot do this. Sorry, best, Felix -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/540632A4.2050701%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/d/optout.