Running tasks

This version is out of date. For current versions, see Puppet Enterprise support lifecycle.

The orchestrator gives you the ability to set up jobs in the console or on the command line to run ad hoc or arbitrary tasks across systems in your infrastructure.

You can install pre-existing tasks, and run tasks from the console and from the command line.

Note: If you have set up compile masters and you want to use tasks, you must either set master_uris or you server_list on agents to point to to your compile masters. This setting is described in the section on configuring compile masters for orchestrator scale.

Writing tasks and plans

You can also write your own tasks in any programming language that can run on your target nodes, such as Bash, Python, or Ruby. Tasks are packaged within modules, so you can reuse, download, and share tasks on the Forge. Task metadata describes the task, validates input, and controls how the task runner executes the task.

Note: The ability to write task plans, which tie tasks together for more complex operations, is currently experimental.

For information about writing tasks and task plans, see the Bolt documentation. For information about installing and running tasks, read on in this section.

See an issue? Please file a JIRA ticket in our [DOCUMENTATION] project
Puppet sites use proprietary and third-party cookies. By using our sites, you agree to our cookie policy.