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

Solaris pkg package provider does not handle expiring certificates

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.2
    • Types and Providers
    • None
    • Solaris 11

    • 1
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support