Roman Shiryaev
2013-Dec-13 07:30 UTC
[Puppet Users] Error: Puppet::Parser::AST::Resource failed with error Hiera::InterpolationLoop: Detected in [::environment]
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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/108d2c80-cf30-4599-80da-f70aaddb0cd1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.