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

package should use update instead of list on Solaris

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • QA Risk Assessment:
      Needs Assessment

      Description

      pkg list [-n|-a] are currently used in the pkg provider to find latest/available packages.

      This method is imprecise; current logic later uses `pkg update -nv name` to determine if a package can be installed.

      This logic can be reduced to `pkg update -nv name[@should]`
      Additionally, --parsable=0 can be added to return json formatted results.

      pkg update also triggers a metadata refresh which also solves the workaround of adding a manual refresh PUP-7745.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shawnferry Shawn Ferry
              Reporter:
              shawnferry Shawn Ferry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support