diff options
author | Olivier Blin <dev@blino.org> | 2015-11-22 00:00:12 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2015-11-30 01:32:43 +0100 |
commit | d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c (patch) | |
tree | a10ad6ae20350e7d900988b9946c95b6aedb2a8a | |
parent | f064909d91ab4159bda00f05932dc0e5449b74ce (diff) | |
download | puppet-d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c.tar puppet-d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c.tar.gz puppet-d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c.tar.bz2 puppet-d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c.tar.xz puppet-d03ddf747d9e8e983ec85160d7bf4c3a309e1c0c.zip |
hiera: make config file work
-rw-r--r-- | modules/puppet/templates/hiera.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/puppet/templates/hiera.yaml b/modules/puppet/templates/hiera.yaml index 8b5fcf73..fcef4278 100644 --- a/modules/puppet/templates/hiera.yaml +++ b/modules/puppet/templates/hiera.yaml @@ -1,9 +1,9 @@ --- -:backends: - yaml - -:logger: console - -:hierarchy: - %{env} - - common +:backends: + - yaml :yaml: - :datadir: /etc/puppet/hieradata + :datadir: /etc/puppet/hieradata +:logger: console +:hierarchy: + - "%{::environment}" + - common |