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

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to