diff options
author | Bryan McLellan <btm@loftninjas.org> | 2016-11-04 16:44:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 16:44:37 -0400 |
commit | 9993ce2a690ddd851dda66b78ecfaf7516b7c38e (patch) | |
tree | 2e563be41b246d14072350c28c1084785890d15d | |
parent | 5bf991ea16eac51a8b421ceefd9d5c446cad3d1c (diff) | |
parent | d24a80f523b3bafc222aef5805edce1ebb1f936b (diff) | |
download | chef-9993ce2a690ddd851dda66b78ecfaf7516b7c38e.tar.gz |
Merge pull request #5518 from chef/release-notes-v12.16
12.16 Release Notes
-rw-r--r-- | RELEASE_NOTES.md | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0150fcff98..986519fa4a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -44,5 +44,46 @@ disable data collection. Note that Chef Server 12.11.0+ (not yet released as of the time this was written) is required for this feature. -## Highlighted bug fixes for this release: +### RFC018 Partially Implemented: Specify `--field-separator` for attribute filtering + +If you have periods (`.`) in your Chef Node attribute keys, you can now pass +the `--field-separator` (or `-S`) flag along with your `--attribute` (or `-a`) +flag to specify a custom nesting character other than `.`. + +In a situation where the *webapp* node has the following node data: +```json +{ + "foo.bar": "baz", + "alpha": { + "beta": "omega" + } +} +``` +Running `knife node show` with the default field separator (`.`) won't show +us the data we're expecting for some attributes: + +```shell +$ knife node show webapp -a foo.bar +webapp: + foo.bar: + +$ knife node show webapp -a alpha.beta +webapp: + alpha.beta: omega +``` + +However, by specifying a field separator other than `.` we're now able to show +the data. + +```shell +$ knife node show webapp -S: -a foo.bar +webapp: + foo.bar: baz + +$ knife node show webapp -S: -a alpha:beta +webapp: + alpha:beta: omega +``` + +## Highlighted bug fixes for this release: |