Detect package version change ?
Is there a way for a puppet agent run to "know" that the version of a package has changed ?
If the version update is done in the run, you can get a notify event from the package resource.
My use-case is when the update is done outside of Puppet.
The package in question is the mysql family. When the version of the software changes, you probably need to run "mysql_upgrade" to upgrade the database system tables.