Hi,
I've been using dynamic environments, one per Git branch, similar to
what's described here:
http://puppetlabs.com/blog/git-workflow-and-puppet-environments/
I've come to really like that workflow, but I'm struggling with how
best to integrate it with Hiera. In addition to short lived dynamic
branches, I'll have some longer lived ones that feed into master
(production), e.g. staging, dev, etc.
My hierarchy has traditionally looked something like this:
- 'environments/%{environment}/%{location}',
- 'environments/%{environment}',
- 'global'
What's the best way of having new environments pick data from the
right spot in the hierarchy without having to cram everything into the
global / common root?
I also use one environment per git branch. But I use a custom fact that returns production/testing etc and then use that in the hiera hierarchy instead of the puppet environment.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.