package upgrade using dpkg provider
I have a custom .deb package created for our environment, which I install using the package resource and dpkg provider by first putting the package file locally on that mchine. Now whenever, I have new features or fixes the custom package, I update it's version number in the control file and rebuild the deb package.
The package resource looks like this.
package { "my_package":
name => 'my_package',
ensure => installed,
provider => dpkg,
source => "${package_location}",
}
But the package resource simply ignores that it is an updated package and doesn't install it.
How can I make the puppet package resource realize that it ...