cdn-ops/global/overlay/etc/puppet/hiera.yaml
Johan Wassberg 5af8093338
Add support for eyaml in Hiera
And at the same time remove support for gpg.

The modern version of the configuration (v5) has been tested with 20.04 but
might work with older dists.
2023-02-16 07:44:37 +01:00

27 lines
613 B
YAML

# Hiera version 5 configuration
#
---
version: 5
defaults:
datadir: /etc/hiera/data
data_hash: yaml_data
hierarchy:
- name: "Per-node data"
path: "local.yaml"
- name: "Per-group data"
path: "group.yaml"
- name: "Per-host secrets"
path: "local.eyaml"
lookup_key: eyaml_lookup_key
options:
pkcs7_private_key: /etc/hiera/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/hiera/eyaml/public_certkey.pkcs7.pem
- name: "Overrides per distribution"
path: "dist_%{::lsbdistcodename}_override.yaml"
- name: "Data common to whole environment"
path: "common.yaml"