Skip to content

Commit 3f434cb

Browse files
committed
Editing
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
1 parent 0145394 commit 3f434cb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

content/agentless/example.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ Replace `<TARGET_NODE>` with the target name defined in the `target_credentials`
129129

130130
Chef Infra Client executes the `apply.rb` recipe in local mode (`chef-client -z`) against the remote target (`-t <TARGET_NODE>`) over SSH using the credentials defined in `~/.chef/target_credentials`.
131131

132-
## Run a recipe using runlist in Agentless Mode
132+
## Run a recipe using a run list in Agentless Mode
133133

134-
Instead of specifying a recipe file, you can run a recipe by specifying it in a runlist using the `-r` option. This requires the cookbook to be available locally in your cookbook path.
134+
Instead of specifying a recipe, you can run a recipe by specifying it in a run list using the `-r` option.
135+
This requires the cookbook to be available locally in your cookbook path.
135136

136137
For example, to run the `example_cookbook::default` recipe:
137138

@@ -141,7 +142,7 @@ chef-client -z -t <TARGET_NODE> -r 'recipe[example_cookbook::default]'
141142

142143
Replace `<TARGET_NODE>` with the target name defined in the `target_credentials` file.
143144

144-
If the cookbook is uploaded to a Chef Infra Server, you can upload the cookbook, add it to the node's runlist, and then run Chef Infra Client in target mode:
145+
If the cookbook is uploaded to Chef Infra Server, you can upload the cookbook, add it to the node's run list, and then run Chef Infra Client in target mode:
145146

146147
```sh
147148
knife cookbook upload example_cookbook

0 commit comments

Comments
 (0)