Running tasks from the console
Run ad-hoc tasks on targeted nodes to upgrade packages, restart services, or perform any other type of single-action executions on nodes in your inventory.
When you set up a job to run a task from the console, the orchestrator creates an ID to track the task job, shows you all the targeted nodes, and runs the tasks on those nodes in the appropriate order. Puppet compiles a new catalog for each node targeted.
You can use one of the following methods to target nodes for a task: :
- Specify a list of one or more nodes.
- Specify a node group.
- Use a Puppet Query Language (PQL) query to define a set of nodes.
When configuring the task job in the console, if you switch the target
method in the Select a target type dropdown, then the target list
clears and you must re-select the target nodes. However, you can perform a one-time
conversion of a PQL query to a static node list if
you want to add or remove specific nodes from the query results.