stdevel / katprep

Python toolkit for automating system maintenance and generating patch reports along with Foreman/Katello and Red Hat Satellite 6.x
GNU General Public License v3.0
35 stars 6 forks source link

Add exclude package upgrade parameter #79

Open stdevel opened 6 years ago

stdevel commented 6 years ago

As documented in task #33, a parameter for also installing non-erratum package upgrades was implemented. It would be handy to also have an parameter for excluding several package upgrades (e.g. kernel updates). I received feedback from the Katello developers with the appropriate API call: https://community.theforeman.org/t/looking-for-api-call-for-retrieving-upgradable-packages-per-content-host/9985/4?u=stdevel

GET https://kate.llo/katello/api/packages?host_id=2&packages_restrict_upgradable=1