Hi,
I'm trying to set up puppetserver for the first time. I installed puppetserver 2.2.1-1puppetlabs1 on a trusty server with the Debian package. I then installed r10k with 'puppetserver gem install r10k --no-ri --no-rdoc'.
However the r10k binary is not in my path. It's in /opt/puppetlabs/server/data/puppetserver/jruby-gems/bin/r10k. So the gem got installed.
Running that binary gives me:
root@puppet:/opt/puppetlabs# /opt/puppetlabs/server/data/puppetserver/jruby-gems/bin/r10k
/usr/bin/env: jruby: No such file or directory
Installing jruby from the ubuntu repos doesn't get it working.
/usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem r10k (>= 0) (Gem::LoadError)
I can't find any information about setting up jruby regarding Puppetserver.
How can I fix this issue?
Thanks in advance,
Rudy
root@puppet:/root# puppetserver gem list
*** LOCAL GEMS ***
colored (1.2)
cri (2.6.1)
faraday (0.9.2)
faraday_middleware (0.9.2)
faraday_middleware-multi_json (0.0.6)
hiera-eyaml (2.0.8)
highline (1.6.21)
jar-dependencies (0.1.13)
jruby-openssl (0.9.7 java)
json (1.8.0 java)
log4r (1.1.10)
minitar (0.5.4)
multi_json (1.11.2)
multipart-post (2.0.0)
puppet_forge (2.1.2)
r10k (2.1.1)
rake (10.1.0)
rdoc (4.1.2)
semantic_puppet (0.1.1)
trollop (2.1.2)
Thanks in advance,
Rudy