-
Notifications
You must be signed in to change notification settings - Fork 86
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
Any way to control the ruby version for puppet apply? #63
Comments
unfortunately on centos 6 puppet will only work on ruby 187 while many of the tools like serverspec etc need ruby 1.9 or above. I've also install gitlab (a ruby on rail app) via https://github.com/sbadia/puppet-gitlab |
If you install puppet as a ruby gem, it will use the version of ruby inside that ruby environment that the gem is installed as. One way around this, is to install puppet during test-kitchen provisioning, such that the I've used both to install set versions of puppet without relying on the |
@metmajer were you able to solve this issue with a custom vagrantfile template, and/or a different solution? |
I am currently trying to work out a solution that works for me. I'll promise to close the issue when I have come up with something and document it here. Thanks! |
@grubernaut I have tried to follow your approach on providing a Docker image that has
and also a lookup using
I am using the latest Any ideas what I could change? Thanks! |
In my current org's setup, we install puppet via gem, and the binary is located at Maybe this would allow |
Here are some findings:
This will allow
Seems like |
Ah looks like Opening a new issue for this bug |
Yup. Please observe that |
Yup, looks like that is the case Although I'm unsure why the check is for |
Note: if you just omit the |
Good to know, thanks! I'm sure someone will work on this issue shortly. If not, I should be able to get to it next week, but am fairly swamped this week |
I am not sure if what I am asking for can be achieved easily. The problem I have is that during the Puppet run and during the test run I require functionality from Ruby that is not available on those versions that come preinstalled on most platforms I would like to support.
Is there any way to specify a ruby version which would then get installed and applied to the puppet apply execution? Thanks!
The text was updated successfully, but these errors were encountered: