Skip to content

Commit 3167f39

Browse files
committed
Additional cleanup
Signed-off-by: Ian Maddaus <[email protected]>
1 parent 59b8ed5 commit 3167f39

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

content/reusable/md/unified_mode_client_releases.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
Unified Mode (`unified_mode true`) is the default behavior starting in Chef Infra Client 18 (April 2022).
12

2-
In Chef Infra Client 17 (April 2021) and some earlier versions, Unified Mode is not enabled by default. Enable Unified Mode on a custom resource with `unified_mode true`. Chef Infra Client displays a deprecation message with `unified_mode false`.
3-
4-
In Chef Infra Client 18 (April 2022), `unified_mode true` will become the default behavior.
3+
See the following table for Chef Infra Client versions where Unified Mode can be enabled in custom resources:
54

65
| Chef Infra Client | Unified Mode |
76
|-------------------|-------------------------------|

content/reusable/md/unified_mode_enable.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Enable Unified Mode by adding the `unified_mode true` in a custom resource. You can upgrade most custom resources to use Unified Mode without additional work other than testing and validation.
1+
Unified Mode is enabled by default starting in Chef Infra Client 18.
2+
3+
In Chef Infra Client 17 (April 2021) and some earlier versions, you can enable Unified Mode in custom resources by adding `unified_mode true`. You can upgrade most custom resources to use Unified Mode without additional work other than testing and validation. See the following example:
24

35
```ruby
46
# enable unified mode

content/unified_mode.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ product = ["client"]
77

88
[menu]
99
[menu.infra]
10+
title = "Unified Mode"
1011
identifier = "chef_infra/resources/unified_mode.md Use Unified Mode"
1112
parent = "chef_infra/resources"
1213
weight = 20
1314
+++
1415

1516
{{< readfile file="content/reusable/md/unified_mode_overview.md" >}}
1617

18+
## Availability
19+
1720
{{< readfile file="content/reusable/md/unified_mode_client_releases.md" >}}
1821

1922
## Enable Unified Mode

0 commit comments

Comments
 (0)