Skip to content

Commit

Permalink
Fixed missing software inventory on RedHat based systems
Browse files Browse the repository at this point in the history
A previous fix to add package inventory for AIX and adding ability to influence default package manager and inventory via augments introduced this bug.

The commit was: 8729217

There was a typo that used the class cfe_yum_package_module_supported instead of cfe_python_for_package_modules_supported.

The first class is undefined anywhere in policy. The second class it the correct one.

Ticket: ENT-11850
Changelog: none
(cherry picked from commit 8bbae02)
  • Loading branch information
craigcomstock committed Jun 6, 2024
1 parent ec9746d commit c7de3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promises.cf.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ body common control

# We only define package_inventory on redhat like systems that have a
# python version that works with the package module.
(redhat|centos|suse|sles|opensuse|amazon_linux).cfe_yum_package_module_supported.!disable_inventory_package_refresh::
(redhat|centos|suse|sles|opensuse|amazon_linux).cfe_python_for_package_modules_supported.!disable_inventory_package_refresh::
package_inventory => { $(package_module_knowledge.platform_default), @(default:package_module_knowledge.additional_inventory)};

aix.!disable_inventory_package_refresh::
Expand Down

0 comments on commit c7de3d6

Please sign in to comment.