I've got a masterless Puppet setup and I'd like to simply add information such as package names based on
$::osfamily for portability. It seems Hiera is made for this sort of thing, but I can't figure out how to actually use Hiera data inside a source repository from a Puppet manifest within the same source repository without modifying anything in
/etc. Basically every piece of documentation seems to assume that I'd want to modify
/etc/puppetlabs/puppet/puppet.conf by hand whenever I use a different repository. Or am I completely misunderstanding Hiera?
If necessary I'd be OK with adding a puppet.conf to the repository and referencing that every time I run
puppet apply, but how would I go about referring to the current directory as the root for the