Actions
Feature #3150
closedforeman-proxy support for invoking sudo as a different user for mcollective
Description
We are using Puppet Enterprise, and Puppet Labs automatically configures the peadmin user as an MCollective client.
It'd be great if there were an optional setting in the config that would allow you to run mco via sudo as a different user. For example:
:mco_user: peadmin
If that was configured, the mco command would be executed with the following parameters:
"/usr/bin/sudo", "-u", "peadmin", "/opt/puppet/bin/mco", "puppet", "runonce", "-I", "<fqdn>"
Thanks!
Actions