Created
September 30, 2012 00:57
-
-
Save spoon16/3805525 to your computer and use it in GitHub Desktop.
Troubleshooting Opscode Chef Knife EC2 Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
poon16@desk ~/src$ gem install knife-ec2 | |
Fetching: knife-ec2-0.5.14.gem (100%) | |
Successfully installed knife-ec2-0.5.14 | |
1 gem installed | |
Installing ri documentation for knife-ec2-0.5.14... | |
Installing RDoc documentation for knife-ec2-0.5.14... | |
spoon16@desk ~/src$ knife ec2 | |
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 | |
spoon16@desk ~/src$ sudo find / -name knife.rb | |
Password: | |
/Users/spoon16/src/chef-repo/.chef/knife.rb | |
find: /dev/fd/3: Not a directory | |
find: /dev/fd/4: Not a directory | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application/knife.rb | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/knife.rb | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/spec/support/shared/functional/knife.rb | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application/knife.rb | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/knife.rb | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-10.14.4/spec/support/shared/functional/knife.rb | |
spoon16@desk ~/src$ sudo find / -name ec2_server_list.rb | |
find: /dev/fd/3: Not a directory | |
find: /dev/fd/4: Not a directory | |
/usr/local/lib/ruby/gems/1.9.1/gems/knife-ec2-0.5.14/lib/chef/knife/ec2_server_list.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey did you get the solution for the above error