-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
34 lines (34 loc) · 1.29 KB
/
hiera.yaml
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
34
---
version: 5
defaults:
# The default value for "datadir" is "data" under the same directory as the hiera.yaml
# file (this file)
# When specifying a datadir, make sure the directory exists.
# See https://puppet.com/docs/puppet/latest/environments_about.html for further details on environments.
# datadir: data
# data_hash: yaml_data
hierarchy:
- name: "Terraform and user data"
lookup_key: eyaml_lookup_key # eyaml backend
paths:
- "user_data.yaml"
- "terraform_data.yaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem
- name: "Software stack"
path: "software_stack/%{facts.software_stack}.yaml"
- name: "Cloud provider"
path: "cloud/%{facts.cloud.provider}/%{facts.cloud.region}.yaml"
- name: "OS version"
path: "os/%{facts.os.family}/%{facts.os.release.major}.yaml"
- name: "Other YAML hierarchy levels"
paths:
- "common.yaml"
- name: "hieradata generated by boostrap.sh"
lookup_key: eyaml_lookup_key # eyaml backend
paths:
- "bootstrap.yaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/boot_private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/boot_public_key.pkcs7.pem