Bug 701266

Summary: RFE: Support globs in package names listed in activation keys
Product: Red Hat Satellite 5 Reporter: Tim Jackson <tjackson>
Component: New FeatureAssignee: Todd Warner <taw>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: myllynen, tlestach
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 14:22:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 260381    

Description Tim Jackson 2011-05-02 11:22:24 UTC
Description of problem:
It is not possible to use globs, as one can do with yum, when listing packages to be installed in an activation key. One example of where this is useful is when using a common activation key for both RHEL5 and RHEL6. With yum, one can do:

yum install foo.i?86

However, it is not possible to use this syntax within Satellite activation keys.

Version-Release number of selected component (if applicable):
Satellite 5.4

How reproducible:
Always

Steps to Reproduce:
1. Create an activation key
2. Add a package name using a glob to a list of packages to install as part of that activation key, e.g. "libXp.i?86"
3. Activate a machine using said activation key
  
Actual results:
Neither libXp.i386 nor libXp.i686 is installed

Expected results:
libXp.i386 is installed on a RHEL5 machine, and libXp.i686 is installed on a RHEL6 machine.

Comment 1 Tim Jackson 2011-05-03 05:47:06 UTC
See also bug #701529 for an alternate solution to this at least for the example above, although both solutions would be useful independently.