Skip to content
Snippets Groups Projects
hiera.yaml 354 B
---
version: 5

defaults:  # Used for any hierarchy level that omits these keys.
  datadir: data         # This path is relative to hiera.yaml's directory.
  data_hash: yaml_data  # Use the built-in YAML backend.

hierarchy:
  - name: 'OSes releases'
    path: "%{facts.os.name}/%{facts.os.release.full}.yaml"

  - name: 'common'
    path: 'common.yaml'