Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1132453 - [RFE] Regex support in matcher-values of smart variables and parameters
[RFE] Regex support in matcher-values of smart variables and parameters
Status: CLOSED WONTFIX
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Smart Variables (Show other bugs)
6.0.4
Unspecified Unspecified
medium Severity medium (vote)
: Unspecified
: Unused
Assigned To: satellite6-bugs
Katello QA List
http://projects.theforeman.org/issues...
: FutureFeature, Triaged
: 1304805 1335847 (view as bug list)
Depends On:
Blocks: 1132363
  Show dependency treegraph
 
Reported: 2014-08-21 07:42 EDT by Stephen Benjamin
Modified: 2017-04-25 12:29 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-13 07:30:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 3636 None None None 2016-04-26 13:01 EDT

  None (edit)
Description Stephen Benjamin 2014-08-21 07:42:39 EDT
The following would be nice functionality I think

Matching on something like: os =~ ^RedHat 6.* would greatly simplify doing stuff for different major versions of a specific distro.

lsbdistcodename is insufficient as all versions of CentOS report Final as codename.
operatingsystemmajrelease is insufficient as well, as that will also match Debian 6.x

Alternatively matching multiple facts using and/or logic would work as well.

osfamily = RedHat and (&&) operatingsystemmajrelease = 6
Comment 1 Stephen Benjamin 2014-08-21 07:42:41 EDT
Created from redmine issue http://projects.theforeman.org/issues/3636
Comment 3 Bryan Kearney 2014-08-21 08:05:42 EDT
Upstream bug assigned to orabin@redhat.com
Comment 5 Daniel Lobato Garcia 2015-02-06 14:48:47 EST
Upstream bug assigned to None
Comment 6 Bryan Kearney 2015-08-25 14:07:09 EDT
Upstream bug component is Provisioning
Comment 7 orabin 2016-02-11 07:53:54 EST
*** Bug 1304805 has been marked as a duplicate of this bug. ***
Comment 10 Bryan Kearney 2016-05-29 13:59:50 EDT
*** Bug 1335847 has been marked as a duplicate of this bug. ***
Comment 12 Bryan Kearney 2016-08-10 15:03:02 EDT
Upstream bug component is Configuration Management
Comment 13 Bryan Kearney 2016-08-10 16:04:06 EDT
Upstream bug component is Provisioning
Comment 14 Bryan Kearney 2016-08-10 18:03:50 EDT
Upstream bug component is Configuration Management
Comment 15 Bryan Kearney 2016-08-12 08:42:41 EDT
Upstream bug component is Smart Variables
Comment 17 Bryan Kearney 2016-12-13 07:30:51 EST
With the current architecture of smart class parameters, this would require a major reworking of the matchers. We do not believe we will be addressing this in the next few releases, so I am closing this out. If you have additional business information around this bug, please feel free to re-open and provide that information.

Note You need to log in before you can comment on or make changes to this bug.