forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-7597) Add Hiera5 default yaml files
This is installed by PA instead of the previous hiera3 format file. There are 2 files to be installed: 1. Empty (commented) global file in configuration directory (with empty hierarchy) 2. Production configuration file in production environment directory
- Loading branch information
John O'Connor
committed
Jun 13, 2017
1 parent
dc23386
commit 7178bf1
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
# Hiera 5 Global configuration file | ||
|
||
version: 5 | ||
|
||
# defaults: | ||
# data_hash: yaml_data | ||
# hierarchy: | ||
# - name: Common | ||
# data_hash: yaml_data | ||
hierarchy: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
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://docs.puppet.com/puppet/4.10/environments.html for further details on environments. | ||
# datadir: data | ||
# data_hash: yaml_data | ||
hierarchy: | ||
- name: "Per-node data (yaml version)" | ||
path: "nodes/%{::trusted.certname}.yaml" | ||
- name: "Other YAML hierarchy levels" | ||
paths: | ||
- "common.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters