Hi Dirk,

On Wed, Sep 07, 2016 at 02:00:46PM +0200, Dirk Heinrichs wrote:
> Am 07.09.2016 um 13:50 schrieb Marc Haber:
> > I would like to be able to influence which files hiera reads from with
> > in hiera.
> 
> You can use facts in :datadir:, like for example:
> 
> :datadir: '/etc/puppetlabs/code/environments/%{::environment}/hiera'
> 
> While the :hierarchy: stays the same, we checkout different branches of
> a hiera repository in each environment to get different file content.

That's a pretty severe trick, which would require duplicating the
entire tree. I doubt that this is feasible in our environment here.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20160908060414.GG10115%40torres.zugschlus.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to