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

AIX puppet_agent has duplicate resource with puppet_enterprise

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • puppet_agent 1.3.0
    • None
    • None
    • Hide

      The puppet_agent AIX job passes.

      Show
      The puppet_agent AIX job passes.
    • Agent
    • 1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support