ncsa / puppet-profile_update_os

NCSA Common Puppet Profiles - configure functionality for upgrading OS packages
0 stars 0 forks source link

Should exclude 'kernel*' by default for RHEL8 #7

Closed billglick closed 3 years ago

billglick commented 3 years ago

If only 'kernel' is excluded, RHEL8 runs of `yum update' throw the following error:

Error: 
 Problem: package kernel-4.18.0-193.28.1.el8_2.x86_64 requires kernel-core-uname-r = 4.18.0-193.28.1.el8_2.x86_64, but none of the providers can be installed
  - conflicting requests
  - problem with installed package kernel-4.18.0-193.28.1.el8_2.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Unfortunately, if we use puppet/yum, does not support wildcards via yum::config:

yum::config { 'exclude': ensure => $excludes, }

...so we cannot currently use puppet/yum to set the excludes, as requested in https://github.com/ncsa/puppet-profile_update_os/issues/3 .