-
Notifications
You must be signed in to change notification settings - Fork 28
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
With PE PLAN no such file to load -- rbvmomi #87
Comments
Hello everyone, I solved 1 issue by replacing If I replace the require for 'nokogiri' to
I get I got the idea from [(https://stackoverflow.com/questions/9154365/ruby-loaderror-cannot-load-such-file)] but I have no knowledge about ruby Changing every file this way is only temporary until the next synchronization and tiresome. Is there no other solution? I am using PE 2021.6 |
Yes, I found solution. I will share in couple of hours. I am out now. Thanks |
This helped me to resolve this by executing commands below on PE. Command 1echo "jruby-puppet: { gem-home: /opt/puppetlabs/server/apps/bolt-server/lib/ruby }" > /tmp/jruby.conf Command 2/opt/puppetlabs/server/bin/java -cp :/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar:/opt/puppetlabs/server/apps/puppetserver/jruby-9k.jar:/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/facter.jar:/opt/puppetlabs/share/java/bcprov-jdk15on.jar:/opt/puppetlabs/share/java/bcpkix-jdk15on.jar:/opt/puppetlabs/server/data/puppetserver/jars/* clojure.main -m puppetlabs.puppetserver.cli.gem --config /tmp/jruby.conf -- install --no-document rbvmomi Restartpuppet resource service pe-orchestration-services ensure=stopped Test |
When I excecute the command 2, I get an error message:
That error message is strange because version 2.7 is installed I found 3 binaries, and everyone is ruby 2.7
If I use your command to install nokogiri -v 1.12.5 and then use it to install rbvmomi, it turns successfully I dont get the error message anymore, thank you very much! |
Good morning everyone
I am trying to use patching with PE 2019.8 but I am getting error below:
For example if I use puppet plan run patching::snapshot_vmware action=create targets=xxxxxxx vsphere_datacenter=xxxxxxx vsphere_host=xxxxxxx vsphere_insecure=true vsphere_password=xxxxxxx vsphere_username=xxxxxxx
Then I receive error:
{
"msg": "no such file to load -- rbvmomi",
"kind": "bolt/plan-failure",
"details": {
"class": "LoadError"
}
}
I tried on PE to do this
/opt/puppetlabs/server/bin/puppetserver gem install rbvmomi
and restart pe-puppetserver but it didn't help.
Any idea?
Thanks
The text was updated successfully, but these errors were encountered: