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
'
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
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
/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