Skip to content

Commit

Permalink
migrate Hiera 4 to Hiera 5
Browse files Browse the repository at this point in the history
  • Loading branch information
joekohlsdorf committed Jan 27, 2018
1 parent 47d5ff4 commit d4fe372
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
25 changes: 13 additions & 12 deletions hiera.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
---
version: 4
datadir: data
version: 5

defaults:
datadir: data
data_hash: yaml_data

hierarchy:
- name: 'OS Data'
backend: yaml
paths:
- "os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.full}"
- "os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.major}/%{facts.os.release.minor}"
- "os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.major}"
- "os/%{facts.os.family}/%{facts.os.name}"
- "os/%{facts.os.family}"
- 'os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.full}.yaml'
- 'os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.major}/%{facts.os.release.minor}.yaml'
- 'os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.major}.yaml'
- 'os/%{facts.os.family}/%{facts.os.name}.yaml'
- 'os/%{facts.os.family}.yaml'

- name: 'Non-OS Yumrepos'
backend: yaml
path: 'repos'
path: 'repos.yaml'

- name: 'Common Data'
backend: yaml
path: 'common'
path: 'common.yaml'
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"source": "https://github.com/voxpupuli/puppet-yum.git",
"project_page": "https://github.com/voxpupuli/puppet-yum",
"issues_url": "https://github.com/voxpupuli/puppet-yum/issues",
"data_provider": "hiera",
"dependencies": [
{
"name": "puppetlabs/stdlib",
Expand Down

0 comments on commit d4fe372

Please sign in to comment.