No commit activity in last 3 years
No release in over 3 years
Fork of Yaml hiera backend with support for array interpolations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.3

Runtime

~> 3.0
 Project Readme

Hiera YAML Array

This is a fork of hiera YAML backend with support for array variable interpolations.

Array interpolations

If bar is a variable defined as an array in puppet and you have the following variable interpolation in the YAML file:

foo: '%{bar}'

The result sill be the same as:

foo:
  - bar[0]
  - bar[1]
  - ...

On original hiera backend the array variable is just casted to a string.

To trigger this array expansion behavior the string where the interpolation is in should contain just one variable and nothing more.

Install

gem install hiera-yaml-array

Configuration

Same as the Yaml backend, but use the key yaml_array instead of yaml.

Contact

  • Maintainer: Hugo Parente Lima c/o Reliant Security, Inc.
  • Email: hugoATreliantsecurity.com
  • IRC (freenode): hugopl