Skip to content

Commit

Permalink
Merge branch 'master' into bumps_for_perf
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-ball authored Aug 14, 2020
2 parents 24d073a + 501f7ad commit 8be2db5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!-- usage documentation: https://expeditor.chef.io/docs/reference/changelog/ -->
<!-- latest_release 20.8.119 -->
## [20.8.119](https://github.com/chef/chef-workstation/tree/20.8.119) (2020-08-13)
<!-- latest_release unreleased -->
## Unreleased

#### Merged Pull Requests
- Bump Chef Workstation App to 0.1.81 [#1405](https://github.com/chef/chef-workstation/pull/1405) ([chef-expeditor[bot]](https://github.com/chef-expeditor[bot]))
- Replace docs for hide-healthy with hide-by-mins [#1417](https://github.com/chef/chef-workstation/pull/1417) ([tas50](https://github.com/tas50))
<!-- latest_release -->

<!-- release_rollup since=20.8.111 -->
### Changes since 20.8.111 release

#### Merged Pull Requests
- Replace docs for hide-healthy with hide-by-mins [#1417](https://github.com/chef/chef-workstation/pull/1417) ([tas50](https://github.com/tas50)) <!-- 20.8.119 -->
- Bump Chef Workstation App to 0.1.81 [#1405](https://github.com/chef/chef-workstation/pull/1405) ([chef-expeditor[bot]](https://github.com/chef-expeditor[bot])) <!-- 20.8.119 -->
- Update cookstyle, chef-cli, mdl, chef-telemetry and chefstyle [#1416](https://github.com/chef/chef-workstation/pull/1416) ([tas50](https://github.com/tas50)) <!-- 20.8.118 -->
- Reenabling Docker image builds using Dobi [#1414](https://github.com/chef/chef-workstation/pull/1414) ([tyler-ball](https://github.com/tyler-ball)) <!-- 20.8.117 -->
Expand Down
2 changes: 1 addition & 1 deletion www/content/workstation/config_rb.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ settings](/workstation/config_rb_optional_settings/) that can be added to the
the `config.rb` file. The reasons for not adding them can vary. For
example, using `--yes` as a default in the `config.rb` file will cause
knife to always assume that "Y" is the response to any prompt, which may
lead to undesirable outcomes. Other settings, such as `--hide-healthy`
lead to undesirable outcomes. Other settings, such as `--hide-by-mins`
(used only with the `knife status` subcommand) or `--bare-directories`
(used only with the `knife list` subcommand) probably aren't used often
enough (and in the same exact way) to justify adding them to the
Expand Down
6 changes: 3 additions & 3 deletions www/content/workstation/config_rb_optional_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Many optional settings should not be added to the config.rb file. The
reasons for not adding them can vary. For example, using `--yes` as a
default in the config.rb file will cause knife to always assume that "Y"
is the response to any prompt, which may lead to undesirable outcomes.
Other settings, such as `--hide-healthy` (used only with the
Other settings, such as `--hide-by-mins` (used only with the
`knife status` subcommand) or `--bare-directories` (used only with the
`knife list` subcommand) probably aren't used often enough (and in the
same exact way) to justify adding them to the config.rb file. In
Expand Down Expand Up @@ -1224,9 +1224,9 @@ The following `knife ssh` settings can be added to the config.rb file:
The following `knife status` settings can be added to the config.rb
file:

`knife[:hide_healthy]`
`knife[:hide_by_mins]`

: Adds the the `--hide-healthy` option.
: Adds the the `--hide-by-mins` option.

`knife[:run_list]`

Expand Down
21 changes: 0 additions & 21 deletions www/content/workstation/knife_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ This subcommand has the following options:
within the last specified number of minutes. The number of minutes
to hide is provided as an integer, such as `--hide-by-mins 10`.

`-H`, `--hide-healthy`

: Hide nodes on which a Chef Infra Client run has occurred within the
previous hour.

Deprecated in favor of the `--hide-by-mins` option in Chef Client
12.6 and above.

`-l`, `--long`

: Display all attributes in the output and show the output as JSON.
Expand Down Expand Up @@ -95,19 +87,6 @@ to return something like:
27 hours ago, union-3-432.lxc, centos 7.3.1611.
```

On systems running Chef Client 12.5 or prior:

``` bash
knife status --hide-healthy
```

to return something like:

``` bash
1 hour ago, i-256f884f, ubuntu 12.04, ec2-67-202-63-102.compute-1.amazonaws.com, 67.202.63.102, role[web].
1 hour ago, i-a47823c9, ubuntu 10.04, ec2-174-129-127-206.compute-1.amazonaws.com, 184.129.143.111, role[lb].
```

**View status using a query**

{{% ws_knife_status_returned_by_query %}}
Expand Down

0 comments on commit 8be2db5

Please sign in to comment.