I have my hiera data in a separate repository with the same branches
as my environment repositories.
I have r10k setup to check out my hiera repo and two environment trees.
My first idea was to use a submodule but I am not sure r10k would
handle that properly.
You could use a separate module for the global hiera settings and get
r10k to manage that as well.
It wouldn't be too tricky to build a hiera tree that does lookups into
your two hiera trees as long as they share a parent directory.
I am also about to publish my puppet management module to puppet forge
which might give you some inspiration.
It can manage an r10k setup with multiple repositories.
The docs are a bit sparse st the moment but it may help.
https://github.com/abstractitptyltd/abstractit-puppet
It would also be pretty easy to change my module to check out multiple
hiera trees.
Hope that helps.
Pete.
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-users/CAC1UU3eAPaMPsM3XF9kdwwXb%2BD5cH8mG2ZxHKCakv4rS0NCj-w%40mail.gmail.com.
> For more options, visit
https://groups.google.com/d/optout.