I have recently upgrade to Puppet v4 and this module still works successfully when run with 'puppet apply' (I am using masterless puppet).
It also works successfully if I use the Vagrant shell provisioner with an inline 'puppet apply'
However, when using Vagrant (I'm using the latest 1.7.4 version) with the puppet provisioner, the module is NOT called (it 'injects' itself after traversing the site
level hierarchy), and therefore none of the Hiera values get resolved whether using automatic parameter binding or direct calls.
Given that this works happily outside of Vagrant, or indeed, inside a Vagrant image using puppet apply, and using the Shell provisioner, I am *assuming* (but I could be wrong) that the Vagrant puppet provisioner is where the issue is.
Can anyone shed any light on why this might be and, ideally, what could be done. I'm happy to help ?
I'm going to post the same question to the Puppet group since it's puppet related, so apologies in advance to anyone who uses both groups for the cross posting.
Kind Regards
Fraser.