Hi folks,

I'm using Puppet 3.0.1 and hiera 1.1.1, and this is my hierarchy now:
:hierarchy:
  - %{fqdn}
  - %{environment}
  - common

but I'd like to achieve something like this:

if my node has environment=vagrant, then Hiera sources should be:
- /var/lib/hiera/vagrant.yaml
- /var/lib/hiera/devel.yaml
- /var/lib/hiera/common.yaml

if environment=devel:
- /var/lib/hiera/devel.yaml
- /var/lib/hiera/common.yaml

if environment=production:
- /var/lib/hiera/common.yaml

I'm going through documentation but seems there's no mention to this
kind of setup.

Any hint? Thanks!

-- 
Alexander Fortin
https://www.vizify.com/alexander-fortin

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


Reply via email to