[chef] RE: Re: installing knife plugins


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

That seemed to work.  I had a hunch it was something like that.

 

Thank you very much.

 

I was pretty unimpressed with the little documentation I found on the Opscode site.    Most of the pages I came across went so far as to say plugins were available, some maintained by Opscode and some from community sources, but very little in the way of how to install them.

 

Since I have been doing bare gem installs previously, I guess it also means that I probably have two copies of a lot of gems on my system .  Ugh….

 

 

 

 

--

Stephen Corbesero, Performance Engineer

Synchronoss - Mobile Innovation for a Connected World

Office: +1 484-821-4272

| www.synchronoss.com

 

From: Lamont Granquist [mailto:
Sent: Wednesday, July 24, 2013 2:20 PM
To:
Subject: [chef] Re: installing knife plugins

 


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:

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.

§