Upgrading a locked yum package

Ohai chefs,

I just recently started using yum_package for package management (instead of apt_package), and I found version pinning is working differently in yum.

I’ve already figured I have to have at least chef-12.16 and yum-plugin-versionlock packages installed, and I already locked/installed my packages.

Now it’s time to upgrade the packages, but yum doesn’t even pick up package changes. Apt version pinning worked differently, as it allows upgrade, and pins the new version nicely.

Is there a well-established way to upgrade version-locked packages?