I don't believe that is possible. You will probably need to collate all the files in customers/ into one file.
I am going to hazard a guess that you have data relating to your customers in that directory. If the data in those files is specific to each customer and each of your nodes had only one customer on it you could set a custom fact and use that to as a lookup in your hiera tree. Does that make sense? On 24 Jul 2014 22:29, "Juan Moreno" <j.moreno.marti...@gmail.com> wrote: > > Hi, > > I would like to know if exists the possibility to include all the yaml files > of a directory in hiera. > > The hiera config looks like: > > :hierarchy: > - %{hostname} > - secrets > - customers/* > > :backends: > - yaml > :yaml: > :datadir: '/etc/puppet/data' > > Cheers, > Juan Moreno > > -- > 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/e069d96d-7ec4-4bb2-bd68-76143609596b%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAJ8DPF56iNxvMGnfap3JmG7qm-%3DGFBrsfrkwxkXDDUoAR%2B3dYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.