Skip to content

Commit 99522c9

Browse files
committed
Final edits I think
Signed-off-by: Ian Maddaus <[email protected]>
1 parent 6ae0566 commit 99522c9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/target_mode.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,17 @@ Target Mode has the following requirements:
3333

3434
## Credentials file
3535

36-
The credentials file defines the connection settings for each node in TOML format.
36+
The credentials file defines the SSH connection settings for each node in TOML format.
3737

3838
Create a credentials file on the computer running Chef Workstation in the following location:
3939

4040
- on Linux and macOS: `~/.chef/credentials`
4141
- on Windows: `c:\Users\<USERNAME>\.chef\credentials`
4242

43-
### Define node connection settings
43+
### Define node connections
4444

45-
Define the list of nodes in the credentials file using the TOML format.
46-
The connection settings for each node are defined using a [TOML Inline Table](https://toml.io/en/v1.0.0#inline-table).
47-
48-
For example, this adds credentials for three nodes using SSH:
45+
Define connection settings for each node with an [inline table](https://toml.io/en/v1.0.0#inline-table).
46+
For example, this adds credentials for three nodes:
4947

5048
```toml
5149
['HOST-1']
@@ -201,7 +199,8 @@ Run the `chef-client` executable using `-t` or `--target` to target a specific n
201199
chef-client -t <TARGET_NAME>
202200
```
203201

204-
Replace `<TARGET_NAME>` with the name of the host as defined in the credentials file. For example, `HOST-1` in the [credential file example](#define-node-connection-settings).
202+
Replace `<TARGET_NAME>` with the name of the host as defined in the credentials file.
203+
For example, `HOST-1` in the [credential file example](#define-node-connections).
205204

206205
To execute a specific Cookbook in Target Mode, run:
207206

@@ -225,7 +224,8 @@ Use `-z` and `-t` to run Target Mode in Local Mode:
225224
chef-client -z -t <TARGET_NAME>
226225
```
227226

228-
Replace `<TARGET_NAME>` with the name of the host as defined in the credentials file. For example, `HOST-1` in the [credential file example](#define-node-connection-settings).
227+
Replace `<TARGET_NAME>` with the name of the host as defined in the credentials file.
228+
For example, `HOST-1` in the [credential file example](#define-node-connections).
229229

230230
## Run Target Mode with Chef Automate or Chef Infra Server
231231

0 commit comments

Comments
 (0)