Knife-ec2 plugin not working when chef is installed from Ubuntu packages


#1

Hi,

I’ve installed chef from the opscode Ubuntu packages. I have the version
0.10.2-2.
I’ve tried to install knife-ec2 from the rubygems packages installation.
Rubygems version is 1.3.7.
If I try to use ‘knife ec2 …’ it keeps saying:
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

Any ideas?

Thanks

Luis


#2

On Thu, Jul 28, 2011 at 8:03 AM, luisico@gmail.com wrote:

I’ve installed chef from the opscode Ubuntu packages. I have the version
0.10.2-2.
I’ve tried to install knife-ec2 from the rubygems packages installation.
Rubygems version is 1.3.7.
If I try to use ‘knife ec2 …’ it keeps saying:
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

Take a look at this bug: http://tickets.opscode.com/browse/CHEF-2483

Bryan


#3

Thanks Bryan.

It worked. I also added a small comment to the bug thread.

2011/7/28 Bryan McLellan btm@loftninjas.org:

On Thu, Jul 28, 2011 at 8:03 AM, luisico@gmail.com wrote:

I’ve installed chef from the opscode Ubuntu packages. I have the version
0.10.2-2.
I’ve tried to install knife-ec2 from the rubygems packages installation.
Rubygems version is 1.3.7.
If I try to use ‘knife ec2 …’ it keeps saying:
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

Take a look at this bug: http://tickets.opscode.com/browse/CHEF-2483

Bryan