This is driving me crazy. I'm trying to load the nodes array into a
puppet array with hiera. Hiera seems to always flatten an array or a
hash to a string, with no delimiter in between, which makes it hard to
split into an array later on.
The hiera_hash and hiera_array functions only take a single key, so
there's no way that I can see to drill down into a multi level yaml
file like below.
glusterfs_volumes:
gfsvol01:
master_server:
gfs01.us1.xxx.com
transport: tcp
name: gfsvol01
replicas: 1
nodes:
-
gfs01.us1.xxx.com
-
gfs02.us1.xxx.com
brick_store: /var/bricks
How can I do this?
Doug