Hello Roman Shiryaev, Did you find the solution for this issue. I am facing the same issue and not finding any solution anywhere.
Do share if your workaround if any. Thanks Veda On Friday, December 13, 2013 1:00:37 PM UTC+5:30, Roman Shiryaev wrote: > > Hello, > > just upgraded Hiera from ver. 1.2.1 to 1.3.0 and broke our puppet > environment. :) > It seems that there are sizeable changes related to variable interpolation > > Here is an error during Puppet run: > > > Error: Puppet::Parser::AST::Resource failed with error > Hiera::InterpolationLoop: Detected in [::environment] at > /home/ubuntu/environments/project_dev/manifests/site.pp:35 on node > project-dev.novalocal > Wrapped exception: > Detected in [::environment] > Error: Puppet::Parser::AST::Resource failed with error > Hiera::InterpolationLoop: Detected in [::environment] at > /home/ubuntu/environments/project_dev/manifests/site.pp:35 on node > project-dev.novalocal > Error: Puppet::Parser::AST::Resource failed with error > Hiera::InterpolationLoop: Detected in [::environment] at > /home/ubuntu/environments/project_dev/manifests/site.pp:35 on node > project-dev.novalocal > > > Line 35 in the above manifest contains the line > > class { "apache": } > > as we're using a standard module apache from Puppetlabs to manage an > installation of Apache. > > And here is our hiera.yaml > --- > :backends: > - yaml > :hierarchy: > - private/%{::environment}/%{::clientcert} > - public/%{::environment}/%{::clientcert} > - private/%{::environment}/%{::environment} > - public/%{::environment}/%{::environment} > - public/%{::environment}/%{::operatingsystem} > - public/%{::environment}/common > :yaml: > :datadir: '/etc/puppet/hieradata/' > > > Any ideas how to fix the issue? Thanks. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/514d2f98-76a7-4208-b3c8-342a1483a0a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.