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!
Updated by Dominic Cleal about 11 years ago
- Project changed from Foreman to Smart Proxy
- Category changed from Smart Proxy to Puppet
Updated by Dominic Cleal about 11 years ago
- Related to Bug #3012: Mcollective does not need sudo to work properly added
Updated by Dominic Cleal about 11 years ago
- Status changed from New to Ready For Testing
- Assignee set to Greg Petras
- Target version set to 1.15.0
- Translation missing: en.field_release set to 2
Updated by Anonymous about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 81a34451808ba07d4c5ffcb790bd62d45cee6bef.
Actions