Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2990

Puppet should support forking processes to apply resources as a specific user

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Description

      Currently, there's no built in functionality for realizing specific resources or classes as a specific user.

      It would be useful in some scenarios to be able to do this.

      One possible solution would be to:

      1. Add a new meta-parameter, perhaps for use with the resources resource, called run_user or similar, who's default value is root.
      2. If specified, everything within the relevant scope would be run as the specified user.
      3. Fork a process/thread on the agent during the puppet run that realizes the relevant resources as the non-root user and captures the output and any errors.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                zee Zee Alexander
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support