view modules/apache/hiera.yaml @ 447:1a9de0661666

Add missing package/dir for minimal Ubuntu Minimal is minimal - no locale, no cron, and some dirs do not exist
author IBBoard <dev@ibboard.co.uk>
date Mon, 08 May 2023 19:24:20 +0100
parents b8d6ada284dd
children
line wrap: on
line source

---
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: "osfamily/major release"
    paths:
        # Used to distinguish between Debian and Ubuntu
      - "os/%{facts.os.name}/%{facts.os.release.major}.yaml"
      - "os/%{facts.os.family}/%{facts.os.release.major}.yaml"
        # Used for Solaris
      - "os/%{facts.os.family}/%{facts.kernelrelease}.yaml"
  - name: "osfamily"
    paths:
      - "os/%{facts.os.name}.yaml"
      - "os/%{facts.os.family}.yaml"
  - name: 'common'
    path: 'common.yaml'