update to use puppet 4 built-in support for module data

https://docs.puppetlabs.com/puppet/latest/reference/lookup_quick_module.html
This commit is contained in:
Hal Deadman 2016-02-11 17:15:21 -05:00
parent 1aebf94b7f
commit dfa697a1b6
2 changed files with 11 additions and 1 deletions

9
hiera.yaml Normal file
View File

@ -0,0 +1,9 @@
---
version: 4
datadir: data
hierarchy:
- name: "OS family"
backend: yaml
path: "osfamily/%{facts.os.family}"
- name: "common"
backend: yaml

View File

@ -30,5 +30,6 @@
{ "name": "puppetlabs/stdlib" },
{ "name": "puppetlabs/concat", "version_requirement": ">=1.0.0 <2.0.0" },
{ "name": "ripienaar/module_data", "version_requirement": ">=0.0.3" }
]
],
"data_provider": "hiera"
}