-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathhiera.yaml
36 lines (34 loc) · 1.59 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
# -*- mode: yaml; -*-
# Time-stamp: <Thu 2019-01-31 23:00 svarrette>
################################################################################
# _ _ _ ____ __ _
# | | | (_) ___ _ __ __ _ / ___|___ _ __ / _(_) __ _
# | |_| | |/ _ \ '__/ _` | | | / _ \| '_ \| |_| |/ _` |
# | _ | | __/ | | (_| | | |__| (_) | | | | _| | (_| |
# |_| |_|_|\___|_| \__,_| \____\___/|_| |_|_| |_|\__, |
# |___/
################################################################################
# Puppet Hiera configuration, which is used to configure the hierarchy, which
# backend(s) to use, and settings for each backend.
# - Doc: https://docs.puppet.com/puppet/latest/hiera_config_yaml_5.html
#
---
version: 5 # below version 5 are deprecated starting puppet 4.9
### default datadir and backend for hierarchy levels.
defaults: # Used for any hierarchy level that omits these keys.
datadir: hieradata # Should be absolute with vagrant
data_hash: yaml_data # Use the built-in YAML backend.
hierarchy:
#______________________
- name: "Custom data"
path: "custom.yaml"
#___________________________
- name: "Role Specific data"
path: "roles/%{::role}.yaml"
#______________________
- name: "Local settings (from vagrant config)"
path: "locals.yaml"
#______________________
- name: "Default data" # Human-readable name.
path: "defaults.yaml" # File path, relative to datadir.
# ^^^^^ IMPORTANT: include the file extension!