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

puppet_agent : Solaris installer fails if there is a pre-existing publisher called puppetlabs.com


    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
    • Environment:

      Solaris 11.3
      Puppet_agent 1.4.1
      PE 2017.3.1

    • Template:
    • Team:
      Platform OS
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment


      Basic Info
      Module Version: 1.4.1
      Puppet Version: PE 2017.3.1
      OS Name/Version: Solaris 11.3

      When using puppet_agent to upgrade from PE 2016.4.6 to 2017.3.1 we were seeing issues when trying to retrieve the last version of puppet-agent package:

      Error: Execution of '/usr/bin/pkg list -Hvfa puppet-agent@5.3.2' returned 1: pkg list: no packages matching 'puppet-agent@5.3.2' known
      Error: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: change from 1.7.1,5.11-1:20161012T034616Z to 5.3.2 failed: Execution of '/usr/bin/pkg list -Hvfa puppet-agent@5.3.2' returned 1: pkg list: no packages matching 'puppet-agent@5.3.2' known

      The curl installer was working as expected.

      After some troubleshooting we discovered that customer had a custom publisher called puppetlabs.com that did not contained the puppet-agent version 5.3.2, making the pkg list command fail, and the puppet_agent module fail.

      Notice that this used to happen in the frictionless installer, but it was fixed.

      Desired Behavior:

      Puppet manages an already existing puppetlabs.com publisher, either by unsetting it, modifying the source or creating one with an altered name.

      Actual Behavior:

      Puppet finds a puppetlabs.com publisher and skips straight to trying to install the package instead of verifying if the publisher has the right attributes.





              • Assignee:
                laura.macchi Laura Macchi
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created:

                  Zendesk Support