Hi,
I'm trying to get to grips with hiera and yaml as the backend.
given a yaml file like this:
---
user:
dave:
home: "/home/dave"
shell: "/bin/bash"
steve:
home: "/home/steve"
shell: "/bin/zsh"
How would I do a hiera lookup for steve's shell?
on the cli, I cannot do "hiera steve.shell" as I might expect.
Obviously I could flatten my yaml and have something like this:
---
dave_home: "/home/dave"
dave_shell: "/bin/bash"
steve_home: "/home/steve"
steve_shell: "/bin/zsh"
But that kind of defeats the point of structured data sets in yaml
Thanks for any help
Tom
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/mNC76qlcKAgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.