Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-1140

Duplicate declaration: File[/etc/puppetlabs/analytics-opt-out]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PE 2016.4.3
    • None
    • Console
    • None
    • Monolithic
    • RHEL 6 (x86_64)
    • Needs Assessment
    • Needs Assessment

    Description

      We're running a monolithic install of PE. The "master" is classified with both the "PE Master" and "PE Console" node groups which assign the master and console profiles respectively. Per the below it seems these two profiles contain a duplicate resource. Should both of these groups be assigned to the master? If yes, whats the best workaround? I was trying to avoid modifying the manifests to fix the issue.

      puppet-agent[5715]: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/etc/puppetlabs/analytics-opt-out] is already declared in file /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/master.pp:522; cannot redeclare at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/console.pp:176 at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/console.pp:176:5 on node
      

      Attachments

        Activity

          People

            ryan Ryan Coleman
            jcotton1123 Jesse Cotton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support