[chef] installing knife plugins


Chronological Thread 
  • From: Stephen Corbesero < >
  • To: " " < >
  • Subject: [chef] installing knife plugins
  • Date: Wed, 24 Jul 2013 14:16:13 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

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.

§