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

agent_specified_environment fact doesn't populate with the environment setting in the [agent] section

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.4.0
    • Fix Version/s: PUP 6.24.0, PUP 7.9.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2021-06-30, NW - 2021-07-14
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fix an issue where the `agent_specified_environment` fact would not get populated if the environment was set in the `[agent]` section. The order of priority is as follows: CLI, agent section, main section.

      Description

      Currently, if I want to use the agent_specified_environment fact, I need to set the environment setting in puppet.conf in the [main] section.

      If I happen to be hitting this bug: PUP-6048, this isn't possible.

      Putting the environment setting in the [agent] section works around PUP-6048, but doesn't allow me to use agent_specified_environment, the fact ends up empty.

        Attachments

          Activity

            People

            Assignee:
            gabriel.nagy Gabriel Nagy
            Reporter:
            erik.hansen Erik Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support