I presume you just want the information for the one customer, and not all customers?
If the first, I assume you set the customer name, and you just dump the information in a file named after the customer. If you want all customers, dump it all in one common file. Whilst, we're still using extlookup, the idea is the same (and we set the client name in our node classifier). We have client information based on location or just general, with global overrides in "common" $extlookup_precedence = ["host_%{fqdn}", "%{client}.location_%{location}", "%{client}", "location_%{location}", "common"] John On 24 July 2014 22:27, 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 > <https://groups.google.com/d/msgid/puppet-users/e069d96d-7ec4-4bb2-bd68-76143609596b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- 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/CAAJLFxWfCgBCZJg58kY4HLj5GNu6PV%2Bd5sAtscmYu%3DGhDODx6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.