summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.