waveclaw / puppet-subscription_manager

Handle Client Registration to RedHat Satellite 6 or Katello
https://rhn.redhat.com
Other
6 stars 34 forks source link

RHEL 7.8: Getting already attached pools not working #98

Closed mungo312 closed 4 years ago

mungo312 commented 4 years ago

After Updating to RHEL7.8 the module can not get the already attached pools.

After some investigation I think the problem is that the /usr/sbin/subscription-manager list --consumed command does not produce a line System Type, it is now called Entitlement Type. Because of this the current subscription is never added to the array of subscriptions.

If nobody else is faster I will try to provide a badly tested pull request.

waveclaw commented 4 years ago

Duplicates #99 which has an untested patch to check