summaryrefslogtreecommitdiff
path: root/puppet/hiera/hiera.yaml
blob: 33acc9e4c0a25731961eabf40abc04193d963841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
:backends:
  - yaml
:yaml:
  # Right now vagrant and puppet are not fully supporting
  # a relative datadir. For it to work, we were forced to
  # create a manifests/hiera symlink. This should be
  # reconsidered in the future.
  #
  # See http://docs.vagrantup.com/v2/provisioning/puppet_apply.html
  :datadir: hiera
:hierarchy:
  - '%{::environment}/domain/%{::domain}/node/%{::clientcert}'
  - '%{::environment}/domain/%{::domain}/role/%{::role}'
  - '%{::environment}/domain/%{::domain}/location/%{::location}'
  - '%{::environment}/domain/%{::domain}/%{::domain}'
  - '%{::environment}/location/%{::location}'
  - '%{::environment}/virtual/%{::virtual}'
  - '%{::environment}/role/%{::role}'
  - bootstrap
  - common