[chef] Re: installing knife plugins


Chronological Thread 
  • From: Lamont Granquist < >
  • To: < >
  • Subject: [chef] Re: installing knife plugins
  • Date: Wed, 24 Jul 2013 11:19:39 -0700


try a:

/opt/chef/embedded/bin/gem install knife-ec2

when you did a 'gem install knife-ec2' you installed to system gems (/usr/bin/gem) not the omnibus version.

those instructions need to get updated for omnibus -- if they're on the opscode site, do you have a link to where you found them?

On 7/24/13 11:16 AM, Stephen Corbesero wrote:
" type="cite">

I am still a newbie, so please indulge me.

 

I don’t think I have ever been able to successfully install a knife plugin.

 

For example, I just tried to install the ec2 plugin.

 

Before the install, when I run ‘knife ec2’, I get the message

 

FATAL: Cannot find sub command for: 'ec2'

The ec2 commands were moved to plugins in Chef 0.10

You can install the plugin with `(sudo) gem install knife-ec2

 

So, I followed the instructions and did the gem install knife-ec2 as root.

The gem install seemed to work, but when I try to run ‘knife ec2’, I get the same message as before.

 

I am running a  CentOS 6.4 system (x86_64) as a vm in vmplayer.  I installed Ruby by compiling a 1.9x release from the ruby site.  I also installed rubygems from its home site.

 

I also seem to have a /opt/chef on my system.  I am not sure where that come from as I thought that was for a chef 11 server install.

 

 

 

 

 

 

--

Stephen Corbesero, Performance Engineer

Synchronoss - Mobile Innovation for a Connected World

Office: +1 484-821-4272

"> | www.synchronoss.com

 





Archive powered by MHonArc 2.6.16.

§