summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-01-28 12:38:56 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-01-28 12:38:56 -0800
commit522347e2a2113ce26a763228cc805be2adb6f73c (patch)
treee6128c9dca5bfe5cd16537fbbe889a4cdecf8d0a /lib/chef/knife.rb
parentcfe733cb9601e80274f7258fb3c7670852f5dfac (diff)
parent6a5325f98c84ad35c71ed2a49c4ea657ba7b96b2 (diff)
downloadchef-522347e2a2113ce26a763228cc805be2adb6f73c.tar.gz
Merge pull request #2760 from troyready/msng_plug_msg
Update knife missing gem message for ChefDK
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r--lib/chef/knife.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index eacb656519..10774acc46 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -269,7 +269,8 @@ class Chef
list_commands(category_commands)
elsif missing_plugin = ( OFFICIAL_PLUGINS.find {|plugin| plugin == args[0]} )
ui.info("The #{missing_plugin} commands were moved to plugins in Chef 0.10")
- ui.info("You can install the plugin with `(sudo) gem install knife-#{missing_plugin}")
+ ui.info("You can install the plugin with `(sudo) gem install knife-#{missing_plugin}`")
+ ui.info("Use `chef gem install knife-#{missing_plugin}` instead if using ChefDK")
else
list_commands
end