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

2014-08-01 Thread Juan Moreno
Here, we have a solution: https://github.com/mapa3m/hiera_multijson_backend Cheers El jueves, 24 de julio de 2014 14:27:58 UTC+2, Juan Moreno escribió: 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

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

2014-07-25 Thread Juan Moreno
' dom_pre: 'www.pre.client2.com' http_pro: 'no' https_pro: 'no' http_pre: 'no' https_pre: 'no' descripcion: 'Description Clie 1' cuota: '2.0TB' Cheers, Juan Moreno El jueves, 24 de julio de 2014 14:27:58 UTC+2, Juan Moreno escribió: Hi, I would like to know if exists

[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

[Puppet Users] Re: How to use variables in a puppet class

2014-07-24 Thread Juan Moreno
/redhat-release in RedHat distros for instance, in my machine, I obtain the two values: $ facter | egrep 'lsbdistrelease|operatingsystemrelease' lsbdistrelease = 14.04 operatingsystemrelease = 14.04 cheers, Juan Moreno El jueves, 24 de julio de 2014 09:07:51 UTC+2, Vikas Kumar escribió: Hello