Skip to content

Commit

Permalink
Merge pull request #225 from treydock/hiera-os-family
Browse files Browse the repository at this point in the history
Use os.family for RedHat based Hiera data
  • Loading branch information
smortex authored Sep 8, 2021
2 parents 6da5bc9 + 7ca6c7b commit 2ef9d94
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 26 deletions.
6 changes: 0 additions & 6 deletions data/CentOS-7.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions data/CentOS-8.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions data/OracleLinux-7.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions data/OracleLinux-8.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions hiera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ hierarchy:
path: '%{facts.os.name}-%{facts.os.release.major}.yaml'
- name: 'Distribution Name'
path: '%{facts.os.name}.yaml'
- name: 'OS Family Major Version'
path: '%{facts.os.family}-%{facts.os.release.major}.yaml'
- name: 'common'
path: 'common.yaml'

0 comments on commit 2ef9d94

Please sign in to comment.