Re: [Puppet Users] Hiera - how to include all files inside a directory

2014-07-24 Thread John Warburton
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 extlook

Re: [Puppet Users] Hiera - how to include all files inside a directory

2014-07-24 Thread Pete Brown
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 c

[Puppet Users] Hiera - how to include all files inside a directory

2014-07-24 Thread Juan Moreno
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 m