Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-643

Solaris pkg package provider does not handle expiring certificates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.2
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      Solaris 11

    • Template:
    • Story Points:
      1
    • Sprint:
      Platform 2014-10-15

      Description

      When the pkg command issues a warning like

      Certificate '/var/pkg/ssl/21c5ab9143663d2d698f6f3a7d41a81603cd1a6f' for publisher 'solarisstudio', needed to access 'https://pkg.oracle.com/solarisstudio/release/', will expire in '28' days.
      

      The pkg provider, when doing ensure => latest does not handle that response while determining the latest version and issues:

      Error: /Stage[main]//Package[mypkg]: Could not evaluate: Could not get latest version: Unknown line format pkg: Certificate '/var/pkg/ssl/21c5ab9143663d2d698f6f3a7d41a81603cd1a6f' for publisher 'solarisstudio', needed to access 'https://pkg.oracle.com/solarisstudio/release/', will expire in '28' days.
      

      I expect that the provider handles the warning, issues a warning of its own so that the information is not lost, and then proceeds as normal.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              andy Andrew Parker
              QA Contact:
              Narmadha Perumal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support