-
Notifications
You must be signed in to change notification settings - Fork 2
/
hiera.yaml
86 lines (86 loc) · 5.54 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
version: 5
defaults:
data_hash: "yaml_data"
hierarchy:
- name: "private hiera yaml"
datadir: "/etc/puppetlabs/code/hieradata/private/%{environment}"
paths: &paths
- "node/%{fqdn}.yaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}.yaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}.yaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}/osfamily.yaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}.yaml"
- "site/%{site}/cluster/%{cluster}.yaml"
- "cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}.yaml"
- "cluster/%{cluster}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "cluster/%{cluster}/variant/%{variant}.yaml"
- "cluster/%{cluster}/role/%{role}.yaml"
- "cluster/%{cluster}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "cluster/%{cluster}/osfamily/%{facts.os.family}.yaml"
- "cluster/%{cluster}.yaml"
- "site/%{site}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/variant/%{variant}/subvariant/%{subvariant}.yaml"
- "site/%{site}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/variant/%{variant}.yaml"
- "site/%{site}/role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "site/%{site}/role/%{role}/osfamily/%{facts.os.family}.yaml"
- "site/%{site}/role/%{role}.yaml"
- "site/%{site}.yaml"
- "role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "role/%{role}/osfamily/%{facts.os.family}.yaml"
- "role/%{role}.yaml"
- "common/architecture/%{facts.os.architecture}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "common/architecture/%{facts.os.architecture}/osfamily/%{facts.os.family}.yaml"
- "common/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.yaml"
- "common/osfamily/%{facts.os.family}.yaml"
- "common/virtual/%{virtual}.yaml"
- "common.yaml"
- name: "private hiera eyaml"
lookup_key: "eyaml_lookup_key" # eyaml backend
datadir: "/etc/puppetlabs/code/hieradata/private/%{environment}"
paths:
- "node/%{fqdn}.eyaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}.eyaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/cluster/%{cluster}/variant/%{variant}.eyaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}/osfamily/%{facts.os.family}.eyaml"
- "site/%{site}/cluster/%{cluster}/role/%{role}.eyaml"
- "site/%{site}/cluster/%{cluster}.eyaml"
- "cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "cluster/%{cluster}/variant/%{variant}/subvariant/%{subvariant}.eyaml"
- "cluster/%{cluster}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "cluster/%{cluster}/variant/%{variant}.eyaml"
- "cluster/%{cluster}/role/%{role}.eyaml"
- "cluster/%{cluster}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "cluster/%{cluster}/osfamily/%{facts.os.family}.eyaml"
- "cluster/%{cluster}.eyaml"
- "site/%{site}/variant/%{variant}/subvariant/%{subvariant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/variant/%{variant}/subvariant/%{subvariant}.eyaml"
- "site/%{site}/variant/%{variant}/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/variant/%{variant}.eyaml"
- "site/%{site}/role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "site/%{site}/role/%{role}/osfamily/%{facts.os.family}.eyaml"
- "site/%{site}/role/%{role}.eyaml"
- "site/%{site}.eyaml"
- "role/%{role}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "role/%{role}/osfamily/%{facts.os.family}.eyaml"
- "role/%{role}.eyaml"
- "common/architecture/%{facts.os.architecture}/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "common/architecture/%{facts.os.architecture}/osfamily/%{facts.os.family}.eyaml"
- "common/osfamily/%{facts.os.family}/major/%{facts.os.release.major}.eyaml"
- "common/osfamily/%{facts.os.family}.eyaml"
- "common/virtual/%{virtual}.eyaml"
- "common.eyaml"
options:
pkcs7_private_key: "/etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem"
pkcs7_public_key: "/etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem"
- name: "public hiera"
datadir: "/etc/puppetlabs/code/environments/%{environment}/hieradata"
paths: *paths