Chef - Run Command
- 16 Mar 2023
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Chef - Run Command
- Updated on 16 Mar 2023
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Chef - Run Command adds or removes recipes and attributes from Chef nodes.
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
General Settings
- Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonious. You can change the name according to your needs.
- Add description (optional) - Click to add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
- Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
- A query only returns results for the asset type it was created for.
- Not all asset categories are supported for all Enforcement Actions.
- See Actions supported for Activity Logs and Adapter Fetch History Modules
- Action name - The name of the Main action. A default value is added by Axonious. You can change the name according to your needs.
- Configure Action Conditions - Toggle on to enter a condition statement. See Configuring Enforcement Action Conditions to learn more about condition statement syntax.
Action Settings
- Recipe (optional) - The name of the recipe to be added to or removed from the chef node run list.
- Remove Recipe (optional) - Select Remove Recipe to remove the Recipe from the chef node run list.
For more details about other Enforcement Actions available, see Action Library.