diff options
author | Troy Ready <troy@troyready.com> | 2015-01-15 09:56:23 -0800 |
---|---|---|
committer | Troy Ready <troy@troyready.com> | 2015-01-15 09:56:23 -0800 |
commit | 6a5325f98c84ad35c71ed2a49c4ea657ba7b96b2 (patch) | |
tree | 4b7da7f5c0740328b68ce550189f203b3b2057ec /lib/chef/knife.rb | |
parent | b9e91171f6bd4ac55d62c6b9b72838fa89a1330e (diff) | |
download | chef-6a5325f98c84ad35c71ed2a49c4ea657ba7b96b2.tar.gz |
update knife missing gem message for chefdk
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 51ccb99955..48bef411a4 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 |