n8gard
n8gard

Reputation: 1970

knife-vsphere plugin not working

Following adding 'knife-vsphere' to my cookbook's Gemfile:

gem 'knife-vsphere'

I try to use the following command:

knife vsphere vm list

And i get the following error: "FATAL: Cannot find sub command for: 'vsphere'"

Clearly knife isn't even aware that it's installed, but it is.

OS X 10.10.3 Chef 12.3.0 (in /opt/chefdk/bin) Ruby 2.2.2 via Rbenv

knife-vsphere: https://github.com/ezrapagel/knife-vsphere

Upvotes: 2

Views: 1313

Answers (1)

StephenKing
StephenKing

Reputation: 37630

Use

chef gem install knife-vsphere

to install it into ChefDK's ruby (docs).

Upvotes: 3

Related Questions