Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
-
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
|
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.