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

puppetlabs/stdlib dependency appears to be 4.20.0 and not 4.13.1 #161

Closed
tullis opened this issue Feb 16, 2018 · 1 comment · Fixed by #162
Closed

puppetlabs/stdlib dependency appears to be 4.20.0 and not 4.13.1 #161

tullis opened this issue Feb 16, 2018 · 1 comment · Fixed by #162
Labels
bug Something isn't working

Comments

@tullis
Copy link

tullis commented Feb 16, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10 PC1
  • Ruby: 2.1.5p273 [x86_64-linux-gnu]
  • Distribution: Debian
  • Module version: 4.1.0

How to reproduce (e.g Puppet code you use)

Run puppet agent with version 4.13.1 of stdlib specified in Puppetfile

What are you seeing

Manifest failure with error:

Error: Unknown function: 'to_yaml'. at /etc/puppetlabs/code/environments/prometheus/third_party/prometheus/manifests/alerts.pp:35:30

What behaviour did you expect instead

Manifest compilation.

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown function: 'to_yaml'. at /etc/puppetlabs/code/environments/prometheus/third_party/prometheus/manifests/alerts.pp:35:30 on node test
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Any additional information you'd like to impart

Updated to version 4.20.0 of stdlib and the manifest compiled.

I checked the changelog of stdlib and the to_yaml function appears to have been introduced in version 4.20.0

https://forge.puppet.com/puppetlabs/stdlib/changelog#supported-release-4200

Many thanks for this module.

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Feb 17, 2018
tuxmea pushed a commit to tuxmea/puppet-prometheus that referenced this issue Feb 17, 2018
@tuxmea
Copy link
Member

tuxmea commented Feb 17, 2018

Many thanks for reporting the issue.

cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this issue Aug 28, 2019
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this issue May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants