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

Rack masters lose track of environment loaders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: PUP 3.6.0
    • Fix Version/s: PUP 3.6.1
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-5-14 to 2014-5-21

      Description

      When a puppet master is running under rack the first few seconds of running will cause it to use the wrong modules if the [main] section has a different modulepath (or environmentpath) from the [master] section.

      Reproduction:

      Given a rack master with the following puppet.conf:

      [main]
      modulepath = /tmp/main-modules
      [master]
      modulepath = /tmp/master-modules
      

      Install puppetlabs-stdlib into the /tmp/main-modules directory:

      > puppet module install puppetlabs-stdlib
      

      Restart the apache master (this is the command if you installed the puppetmaster-passenger package for debian):

      > service apache2 restart
      

      Run the agent:

      > puppet agent -t
      

      Actual outcome:

      The agent will run and start to download the stdlib functions as part of pluginsync. Part way through downloading it will start failing to fetch files with the reason that the files don't exist.

      Expected outcome:

      The agent shouldn't pluginsync anything because the master's modulepath doesn't include any modules.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              andy Andrew Parker
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support