Run Puppet tasks on agents

Hello.

I have a fresh install of foreman-installer-3.10.0-1 on a RHEL 9 server.
This server is my puppet master.

On this server I have puppet modules containing classes and tasks.

/etc/puppetlabs/code/environments/production/modules/tasks/ (.ps1, .sh, .ksh, .cmd, etc)

Question: is it possible to initiate the execution of a Puppet task from the Foreman UI?

correction:
/etc/puppetlabs/code/environments/production/modules/module-name/tasks/ (.ps1, .sh, .ksh, .cmd, etc)

Take a look at remote execution plugin GitHub - theforeman/foreman_remote_execution: A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality.

Thank you Wally.

1 Like