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
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 checkou
Hi,
I would like to be able to influence which files hiera reads from with
in hiera. Here is a minimal test:
$ cat hiera.yaml
---
:backends:
- yaml
:yaml:
:datadir: "/home/e13itfe/hieratest/yaml/"
:logger: console
:hierarchy:
- "0_harddefaults"
- "6_%{::redir}"
- "9_softdefaults"
$ head