Red Hat Training

A Red Hat training course is available for Red Hat Satellite

17.7. Method: comparePackages

Description

Returns a list for each kickstart profile. Each list contains package names not present on the other profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string kickstartLabel1
  • string kickstartLabel2
Returns

The following return values are available for this method:

  • struct - Comparison Info
    • array "kickstartLabel1" - Actual label of the first kickstart profile is the key into the struct
      • array:
        • string - packagename
    • array "kickstartLabel2" - Actual label of the second kickstart profile is the key into the struct
      • array:
        • string - packagename