Heya, we're running RHEL/CentOS, so our package manager is yum. I'd like clients to be able to run "pkg.upgrade" to get up to date, but I want them to exclude packages that match kernel*, e.g. yum -y update --exclude=kernel*.
I know you can set this in /etc/yum.repos.d/ at a repo-level, but I'd rather not limit it to *all* calls for "yum update," I only want this limitation when calling from salt.
Since pkg.upgrade takes kwargs, I tried a few things like:
Doesn't seem to matter, every variation just results in a plain 'yum -y update'.
Is there any way to achieve this with Salt?
Thanks,
Mike