----- Original Message ----- > From: "Jonathan Gazeley" <[email protected]> > To: "puppet-users" <[email protected]> > Sent: Wednesday, 30 November, 2016 16:59:16 > Subject: [Puppet Users] Hiera 4 problems
> I'm still setting up my new PE 2016.4 installation and I'm running into > a problem with Hiera data per environment. I followed these steps: > > https://docs.puppet.com/puppet/4.7/reference/lookup_quick.html#if-you-already-use-hiera-in-environments > > Every Puppet run errors with: > > Error: Could not retrieve catalog from remote server: Error 500 on > SERVER: Server Error: Evaluation Error: Error while evaluating a > Function Call, Lookup of key 'classes' failed: Cannot load backend > module_data: no such file to load -- hiera/backend/module_data_backend > in Cannot load backend module_data: no such file to load -- > hiera/backend/module_data_backend at > /etc/puppetlabs/code/environments/pe/manifests/site.pp:32:1 on node > puppet4-prod.resnet.bris.ac.uk > you need to completely remove the old ripienaar-module_data backend as its not 4 compatible - looks like this is what is happening here if you do use it, you can adjust your modules before hand to be puppet 4 compatible by adding a puppet 4 hiera.yaml for its own module data feature -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1747502492.757372.1480521790445.JavaMail.zimbra%40devco.net. For more options, visit https://groups.google.com/d/optout.
