summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-10-10 15:58:23 -0700
committerSerdar Sutay <serdar@opscode.com>2014-10-10 15:58:23 -0700
commitade8c96713278a76a6306e923b63b4fd3ac9bd1d (patch)
treed4fc8527f550ecf8c6470cb974300936cca2f611
parent21bc8d3b655a94ebbdaa5243d46afd82d0fe9faf (diff)
downloadchef-sersut/contrib-pass.tar.gz
Contribution information for https://github.com/opscode/chef/pull/2170.sersut/contrib-pass
-rw-r--r--CHANGELOG.md2
-rw-r--r--RELEASE_NOTES.md6
2 files changed, 8 insertions, 0 deletions
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.