diff options
author | danielsdeleo <dan@getchef.com> | 2014-09-03 12:37:06 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2014-09-03 12:44:47 -0700 |
commit | 789462db340758a205e19f0339a7b2e7361d11d6 (patch) | |
tree | 9e604c4addd201246863e401defbe303a75f00f5 /DOC_CHANGES.md | |
parent | b6f52b35e77e733c627455e368a5dd30bc22daf5 (diff) | |
download | chef-789462db340758a205e19f0339a7b2e7361d11d6.tar.gz |
Update doc files for knife `config.rb` support.
Diffstat (limited to 'DOC_CHANGES.md')
-rw-r--r-- | DOC_CHANGES.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md index 1ef0a7830c..c08ab0097a 100644 --- a/DOC_CHANGES.md +++ b/DOC_CHANGES.md @@ -6,6 +6,19 @@ Example Doc Change: Description of the required change. --> +### Knife now prefers to use `config.rb` rather than `knife.rb` + +Knife will now look for `config.rb` in preference to `knife.rb` for its +configuration file. The syntax and configuration options available in +`config.rb` are identical to `knife.rb`. Also, the search path for +configuration files is unchanged. + +At this time, it is _recommended_ that users use `config.rb` instead of +`knife.rb`, but `knife.rb` is not deprecated; no warning will be emitted +when using `knife.rb`. Once third-party application developers have had +sufficient time to adapt to the change, `knife.rb` will become +deprecated and config.rb will be preferred. + ### value_for_platform Method - where <code>"platform"</code> can be a comma-separated list, each specifying a platform, such as Red Hat, openSUSE, or Fedora, <code>version</code> specifies the version of that platform, and <code>value</code> specifies the value that will be used if the node's platform matches the <code>value_for_platform</code> method. If each value only has a single platform, then the syntax is like the following: |