Puppet Discovery tasks are single, ad hoc actions that run on your target Linux and Windows hosts, enabling you to install a Puppet agent, manage packages or system services, and run shell commands.
rootaccount on each target host. See Secure Shell (SSH).
- Select Menu > , and select the task:
Install Puppet agent on Linux.
Install Puppet agent on Windows.
Manage package on Linux.
Manage package on Windows.
Manage service on Linux.
Manage service on Windows.
Run a shell command on Linux.
Run a shell command on Windows.
- Enter the values for the task parameters (see below).
- Click Select hosts.
- Select the hosts to run the task on, and click Select credentials.
- Select the credentials for accessing the hosts, and click Review task summary.
- Review the tasks details, your credentials, the list of target hosts, and click Run task.
Install Puppet agents
Install a Puppet Enterprise agent to regularly pull configuration catalogs from a Puppet master, and apply them to your target Linux or Windows hosts. The agent maintains the host configuration you want.
cacert_contentparameter, the task fails, and you must enter a valid value for the task to run. An empty value is not accepted.
| ||The required hostname for the Puppet master. The FQDN must be fully resolvable by the node on which you're installing the agent.|
| ||The master CA certificate content (optional). If not specified, the master's identity is not verified during the agent installation.|
| ||The unique certificate name for the Puppet agent (optional).|
| ||The alternative DNS names for generating the agent certificate.|
| ||The custom attribute setting added to |
| ||The extension attribute setting added to |
Install, upgrade, or uninstall packages on discovered hosts without installing an agent.
APT or YUM for Linux hosts.
Chocolatey for Windows hosts.
| ||The action to be applied to the package:|
| ||The name of the package.|
| ||The version, and if applicable, the release value of the package. A version number range or a semver pattern are not permitted. For example, to install the |
Tip: To install or upgrade to the latest version of a package, leave the
Execute an arbitrary shell command on discovered hosts without installing an agent.
|The command to execute on the target hosts. |
Windows tasks use Command Prompt to execute commands. To run PowerShell commands, you must invoke PowerShell, for example:
Manage system services
Stop, start, or restart services on discovered hosts.
| ||The action to be applied to the service:|
| ||The name of the service.|