diff options
author | John Keiser <jkeiser@opscode.com> | 2013-09-16 14:47:20 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-09-16 14:47:20 -0700 |
commit | f19845e999a0977c509ef6094c855806f97c955f (patch) | |
tree | d7f2ddff7def419fa93e894879ac35992dc31c12 | |
parent | 03557d29a827a29065f323ca498869d0fefd3f02 (diff) | |
download | chef-f19845e999a0977c509ef6094c855806f97c955f.tar.gz |
Add knife configuration variable names for future reference
-rw-r--r-- | lib/chef/config.rb | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 725815681a..2aabc804bf 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -386,8 +386,20 @@ class Chef # Set to false to silence Chef 11 deprecation warnings: default :chef11_deprecation_warnings, true - # Arbitrary knife configuration data - config_context :knife + # knife configuration data + config_context :knife do + default :ssh_port, nil + default :ssh_user, nil + default :ssh_attribute, nil + default :ssh_gateway, nil + default :bootstrap_version, nil + default :bootstrap_proxy, nil + default :identity_file, nil + default :host_key_verify, nil + default :forward_agent, nil + default :sort_status_reverse, nil + config_context :hints + end # Those lists of regular expressions define what chef considers a # valid user and group name |