Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: $archive_source tries to illegally access not yet evaluated $version #87

Open
bgshacklett opened this issue Apr 8, 2016 · 2 comments

Comments

@bgshacklett
Copy link

In a Puppet 4 environment, I'm getting the following error when declaring the ::grafana class:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, default expression for $archive_source tries to illegally access not yet evaluated $version at /etc/puppetlabs/code/environments/production/manifests/profile.grafana.pp:6:3 on node metrics01.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

From what I can tell, this is because the $version parameter is defined after the $archive_source parameter, which is trying to use it. I moved $version above $archive_source on my puppetmaster and I was able to get a successful run, but I haven't had time to thoroughly vet the change.

@bfraser
Copy link
Owner

bfraser commented Apr 30, 2016

This should be fixed in acc8075 as a result of moving the version logic to the install manifest.

@brettswift
Copy link

I ran into this as well. I could use the hash but I'm curious when the new release is planned?

bastelfreak added a commit to bastelfreak/puppet-grafana that referenced this issue Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants