Project

General

Profile

Actions

Feature #3150

closed

foreman-proxy support for invoking sudo as a different user for mcollective

Added by Greg Petras over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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!


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #3012: Mcollective does not need sudo to work properlyRejectedActions
Actions

Also available in: Atom PDF