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

Have master and agent use different libdirs by default

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      Right now the master and agent share the same value by default for the libdir setting. The libdir setting is also the default plugindest. This means that an agent running on the puppet master's node will sync all of its plugins into the master's libdir. The libdir is also included by default in the ruby LOAD_PATH on the master. All of this added together means that the environment of the agent running on the master node leaks into all other environments that the master will serve since it searches for certain plugins in ruby's LOAD_PATH.

      We can solve this by changing the default libdir to be different depending on whether it is for the master or the agent.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  eric.sorenson Eric Sorenson
                  Reporter:
                  andy Andrew Parker
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: