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

provider broken on Puppet v3.8.6 w/ Ruby 1.8.7 #217

Closed
ghoneycutt opened this issue Apr 19, 2016 · 5 comments
Closed

provider broken on Puppet v3.8.6 w/ Ruby 1.8.7 #217

ghoneycutt opened this issue Apr 19, 2016 · 5 comments

Comments

@ghoneycutt
Copy link
Member

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/package: Could not autoload puppet/provider/package/npm: /etc/puppet/environments/development/modules/nodejs/lib/puppet/provider/package/npm.rb:3: syntax error, unexpected ':', expecting $end ...package).provide :npm, parent: Puppet::Provider::Package do

seems this was changed in ce1460c

@bastelfreak
Copy link
Member

Hi,

we do not support Ruby1.8.7 anymore. Please take a look at the alternative solutions like the Puppet AIO packages or ruby replacements.

@ghoneycutt
Copy link
Member Author

For anyone else running into this, v1.3.0 seems to be the last release that supports ruby 1.8.7.

@gdubicki
Copy link

Note that this makes it not work on Centos 6.

@bastelfreak
Copy link
Member

@gdubicki this is not 100% correct, it only fails on CentOS 6 with Puppet 3.X. You can use Puppet 4.X on CentOS 6 as well, this version has a bundled ruby version and that supports this module.

@gdubicki
Copy link

Thanks for clarification, @bastelfreak !

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