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

Environment not updated via ENC if obsolete Environment in agents puppet.conf

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PUP 3.6.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      RHEL 6.5, x86_64, Puppet 3.6.1 running via unincorn behind nginx

      Description

      I use directory Environments on my Puppet 3.6.1 Server. Foreman ist the external node classifier. The environment is set by Foreman.

      The agent's puppet.conf is written by puppet including an environment = line in the main section

      If an agent is switched from one environment to another environment, and the old environment does not exist on the puppet server, the agent fails with

      Could not evaluate: Could not retrieve information from environment OLDENV sources(s) puppet://puppet.my.domain/plugins
      

      If the old environment exists, the agent switches to his new environment without any problems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                floriansachs Florian Sachs
                QA Contact:
                Erik Dasher
              • Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support