Ask Your Question

puppet-rundeck error with PE 3.x: require 'puppet' didn't work. How to fix? [closed]

asked 2013-10-03 17:49:20 -0600

updated 2013-10-04 14:47:02 -0600

Can I please get some help from ruby/puppet developers? I was trying to maintain puppet-rundeck and got following bug report. I'm not a Ruby programmer at all, but I would appreciate any advice.

report (original issue on github): I am running puppet enterprise 3 and needed to install ruby, install the plugin and copy the puppet ruby modules to this ruby version.

 [root@master3 gems]# puppet-rundeck -c /etc/puppetlabs/puppet/puppet.conf  
 You need to have Puppet 0.25.5 or later installed
 /usr/local/lib/ruby/gems/1.9.1/gems/puppet-rundeck-0.0.7/lib/puppet-rundeck.rb ...
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by GregLarkin
close date 2013-10-07 08:16:01.686070


Update: I think that the reason of this issue is not the missing method, but the missing puppet module in the statement require 'puppet'. Is that correct?

Aleksey Timohin gravatar imageAleksey Timohin ( 2013-10-04 01:02:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-04 15:38:03 -0600

GregLarkin gravatar image

Can you check to make sure you are invoking puppet-rundeck with the Ruby interpreter installed with PE? It should be located in /opt/puppet/bin/ruby.

edit flag offensive delete link more


Thanks for suggestion, - but I'm not able to reproduce that issue in my environment - cause I'm using vagrant boxes with preinstalled ruby & puppet open source. And I don ...(more)

Aleksey Timohin gravatar imageAleksey Timohin ( 2013-10-05 13:57:43 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-03 17:49:20 -0600

Seen: 241 times

Last updated: Oct 04 '13