Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 344 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 344 Bytes

beaker-hiera

Beaker Hiera DSL Extension Library! This allows to easily use Hiera data in acceptance tests.

hierarchy = [
  'fqdn/%{fqdn}.yaml',
  'os/%{os.family}/%{os.release.major}.yaml',
  'os/%{os.family}.yaml',
  'common.yaml',
]
write_hiera_config_on(host, hierarchy)
copy_hiera_data_to(host, 'spec/acceptance/hieradata')