--- version: 5 defaults: datadir: "config" data_hash: "yaml_data" hierarchy: # # Put in the secrets folder all sensitive information that # wont be spread into every system if you"re using the Hydra Suite. # # We also recommend to leave only encrypted data in your hiera config. # - name: "encrypted secrets" path: "secrets/node/%{::fqdn}.yaml" lookup_key: eyaml_lookup_key options: # If using the pkcs7 encryptor (default) pkcs7_private_key: "%{settings::confdir}/keys/private_key.pkcs7.pem" pkcs7_public_key: "%{settings::confdir}/keys/public_key.pkcs7.pem" - name: "regular secrets" paths: - "secrets/role/%{::role}.yaml" - "secrets/location/%{::location}.yaml" - "secrets/domain/%{::domain}.yaml" # # All other stuff goes in regular YAML files. # - name: "public" paths: - "node/%{::fqdn}.yaml" - "role/%{::role}.yaml" - "virtual/%{::virtual}.yaml" - "location/%{::location}.yaml" - "domain/%{::domain}.yaml" - "compiled.yaml" - "common.yaml"