-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
issue with jruby under PE 3.7 #150
Comments
For command-line support, you'll need to install the gem again using the regular Ruby interpreter with |
Don't work neither in Centos 6 with puppetserver 2.2.1. jruby is not provided, even when installed with puppetserver gem install hiera-eyaml. |
What? Puppet Server runs on and ships with JRuby. |
I'm talking about the jruby as a standalone binary. The eyaml command expect it, the first line is "/usr/bin/env jruby" |
Interesting - that must get substituted somehow during installation. As you can see we just use ruby: Potentially something wrong with how the gem is being installed? As @elyscape says you'll need to install it into your normal ruby environment to use the command line tool. The installation in the puppet server path is solely for decrypting and not for editing. |
I installed using :
And to use it I now type:
So it's more a documentation problem than a real bug. |
Arguably yes. The documentation hasn't kept up with changes to puppet and having to install it differently for editing isn't always clear. I imagine most people don't have puppetserver running on the machine they are using to edit manifests so it's generally not a problem. |
it can be reopened if it's reproducible on the latest Puppet 4 or newer |
After upgrading to PE 3.7, I'm migrating to hiera-eyaml from hiera-gpg since the latter doesn't work under PE 3.7. I've installed hiera-eyaml, and that seems to have been fine.
eyaml seems to be missing jruby though, and it's not part of the PE install.
I've installed the system jruby (
sudo apt-get install jruby
) but that doesn't seem to have helped much, since the system jruby can't find the puppetserver eyaml gem.There's nothing about this in the install readme, and I googling hasn't produced any results. Am I missing something obvious here?
The text was updated successfully, but these errors were encountered: