Run Command when Kernel RPM Changes
I'm fairly new to puppet and have a quick question. I need to run a command whenever a new kernel is installed via a "yum update" on a CentOS 7 box. In particular I'm using enhanced networking drivers on AWS instances that require an argument be passed to the kernel line in grub, and then the grub.cfg rebuilt.
So, each time the kernel RPM changes, I need to run the command. Is there a simple way (or forge module) to do that?