aboutsummaryrefslogtreecommitdiff
path: root/hiera/hiera.yaml
blob: 8ba1c30bb0f129e6713706bdf0bd52171b79e779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
: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: '%{settings::confdir}/hiera'
:hierarchy:
  #
  # Put in the secrets folder all sensitive information that
  # wont be spread into every system if you're using the Hydra Suite.
  #
  # We also recommend to leave only encrypted data in your hiera config.
  #
  - 'secrets/node/%{::clientcert}'
  - 'secrets/domain/%{::domain}'
  - 'secrets/role/%{::nodo::role}'
  - 'secrets/location/%{::nodo::location}'

  #
  # All other stuff goes in regular YAML files.
  #
  - 'node/%{::clientcert}'
  - 'domain/%{::domain}'
  - 'role/%{::nodo::role}'
  - 'location/%{::nodo::location}'
  - 'virtual/%{::virtual}'
  - bootstrap
  - common