Puppet facts in hiera data and override

puppet-facts-server

Not sure if you know that you can create a relation between custom / external facts (read more) and hiera (read more) ...