Skip to content

Instantly share code, notes, and snippets.

@logicminds
Created October 20, 2017 22:09
Show Gist options
  • Save logicminds/730ea228a7b64714721933c4e61fca1b to your computer and use it in GitHub Desktop.
Save logicminds/730ea228a7b64714721933c4e61fca1b to your computer and use it in GitHub Desktop.
complex hiera lookups
foo_complex_alias: "%{alias('foo_complex')}"
foo_complex:
- "%{alias('complex_type1')}"
- "%{alias('complex_type2')}"
- "%{alias('complex_type3')}"
- "%{alias('complex_type4')}"
- "%{alias('complex_type5')}"
foo_complex2:
key1: "%{alias('foo_complex')}"
foo_complex:
- key1: "%{alias('complex_type1')}"
- key2: "%{alias('complex_type2')}"
- key3: "%{alias('complex_type3')}"
- key4: "%{alias('complex_type4')}"
- key5: "%{alias('complex_type5')}"
complex_type5:
- package1
- package2
- package3
complex_type4:
- service1
- service1
- service1
complex_type3:
- service3
- service4
- service5
complex_type2:
- file1
- file2
- file3
complex_type1:
- name: value1
- name: value2
- name: value3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment