Johan Wassberg
5af8093338
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.
27 lines
613 B
YAML
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" |