From ade8c96713278a76a6306e923b63b4fd3ac9bd1d Mon Sep 17 00:00:00 2001 From: Serdar Sutay Date: Fri, 10 Oct 2014 15:58:23 -0700 Subject: Contribution information for https://github.com/opscode/chef/pull/2170. --- CHANGELOG.md | 2 ++ RELEASE_NOTES.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62343249ca..90d674f6e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -122,6 +122,8 @@ Changed `knife cookbook site share` to make category an optional parameter when uploading cookbooks. It is still required when the cookbook is being uploaded for the first time but on the consequent uploads existing category of the cookbook will be used. +* [**Nicolas DUPEUX**](https://github.com/vaxvms): + Added JSON output to `knife status` command. `--medium` and `--long` output formatting parameters are now supported in knife status. ### Chef Contributions diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 43d500876c..1fdc51c6e6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -330,3 +330,9 @@ RFC-017 has two great advantages: 2. It enables the configuring a custom lookup logic when Chef is attempting to find cookbook files. You can read more about this RFC [here](https://github.com/opscode/chef-rfc/blob/master/rfc017-file-specificity.md). + +## JSON output for `knife status` +`knife status` command now supports two additional output formats: + +1. `--medium`: Includes normal attributes in the output and presents the output as JSON. +1. `--long`: Includes all attributes in the output and presents the output as JSON. -- cgit v1.2.1