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

AIX puppet_agent has duplicate resource with puppet_enterprise

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet_agent 1.3.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      The puppet_agent AIX job passes.

      Show
      The puppet_agent AIX job passes.
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      AP 2016-10-19

      Description

      Problem

      While running through the new AIX CI jobs, I found this:

      15:56:23        Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/usr/local/bin/puppet] is already declared in file /etc/puppetlabs/code/environments/production/modules/puppet_agent/manifests/osfamily/aix.pp:12; cannot redeclare at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/symlinks.pp:44 at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/symlinks.pp:44:5 on node pe-aix-61-acceptance.delivery.puppetlabs.net
      

      https://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_pe-acceptance-tests_integration-system_pe_full-agent-upgrade_aix_2016.2.x/LAYOUT=centos6-64mcd-aix61-POWERfa%257Bhypervisor=none%252Cvmhostname=pe-aix-61-acceptance.delivery.puppetlabs.net%257D,LEGACY_AGENT_VERSION=NONE,PLATFORM=NOTUSED,UPGRADE_FROM=2016.2.0,label=beaker-bigjob/2/console

      Solution

      Only declare that resource if it is undeclared.

      In scope for agent team:

      Verify that we're no longer seeing the Duplicate declaration: error in CI.

        Attachments

          Activity

            People

            Assignee:
            glenn.sarti Glenn Sarti
            Reporter:
            brandon.high Brandon High
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support