Arguments to the lookup function shown in [ ] are not mandatory which is covered in the preceding section.
- <name>:
- Must be of the data type string or array.
- The key name in the Hiera hierarchy to retrieve.
- An array of keys may also be provided. If the resulting Hiera lookup doesn't provide a result for the first key, it will iteratively try retrievals for the subsequently given keys, finally resorting to the default if none of the array keys succeed in returning a value.
- <value type>:
- Must be a valid data type
- The Hiera lookup (and hence the compilation of the catalog) will fail if the datatype of the returned value does not match the data type given here
- Defaults to Data (that is, any normal value will not ...