forked from ComputeCanada/puppet-magic_castle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiera.yaml
23 lines (23 loc) · 807 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
---
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: "User data"
path: "user_data.yaml"
- name: "Terraform data"
path: "terraform_data.yaml"
- 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"