Project

General

Profile

Actions

Feature #3150

closed

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

Added by Greg Petras over 11 years ago. Updated over 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 #1

Updated by Dominic Cleal about 11 years ago

  • Project changed from Foreman to Smart Proxy
  • Category changed from Smart Proxy to Puppet
Actions #2

Updated by Dominic Cleal about 11 years ago

  • Related to Bug #3012: Mcollective does not need sudo to work properly added
Actions #3

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
Actions #4

Updated by Anonymous about 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF