Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10534

puppet-agent : discrepancy between documentation and module operation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 3.0.1
      Puppet Version: 2019.3
      OS Name/Version: Solaris 10 x86 (agent), RHEL7 (master)

      Describe your issue in as much detail as possible...

      Desired Behavior: $puppet_agent::absolute_source should be used by the puppet_agent module regardless of whether or not $puppet_agent::source is defined.

      Actual Behavior: The puppet run fails with an error stating $source and $absolute_source are defined. The documentation states that $absolute_source as well as a number of other related variables are preferred over $source, which I take to mean they can both exist and $source has the lowest priority.

      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Only one of $source and $absolute_source can be set (file: /etc/puppetlabs/code/environments/bsirinek_dv4/modules/puppet_agent/manifests/init.pp, line: 124, column: 5) on node solarishost.company.com

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sirinek Bill Sirinek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support