-
Notifications
You must be signed in to change notification settings - Fork 71
/
hiera.yaml
36 lines (25 loc) · 772 Bytes
/
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
35
36
# TODO: currently editing this file requires a *manual* restart of the
# puppetserver service on lightning
version: 5
defaults:
datadir: hieradata
data_hash: yaml_data
hierarchy:
- name: "Private config (passwords, etc.)"
path: "private.yaml"
- name: "Nodes"
path: "nodes/%{::hostname}.yaml"
- name: "Type"
path: "type/%{::type}.yaml"
- name: "Virtual or physical"
path: "is_virtual/%{::is_virtual}.yaml"
- name: "OS version"
path: "os/%{facts.os.distro.codename}.yaml"
- name: "Common defaults"
path: "common.yaml"
- name: "Kubernetes hosts"
path: "kubernetes/hosts/%{::hostname}.yaml"
- name: "Kubernetes os"
path: "kubernetes/os/%{::osfamily}.yaml"
- name: "Dummy secrets"
path: "dummy_secrets.yaml"