Daniel Nerí has pushed a few updates to the apt module on the integration branch.
It’s now possible to request a specific version of a package:
apt pkg=foo=VERSION state=installed
NOTE: I’m asking to get this syntax to match the yum module, in which case it would be as follows, so don’t get used to it:
apt pkg=foo state=VERSION
And also there is a new default-release parameter, which corresponds to the “-t” option for apt, which deals with pin priorities.
apt pkg=nginx state=latest default-release=squeeze-backports
Testing from Debian users welcome if someone has time tonight/tomorrow. Yes, release is soon, but this seemed small and well worth it.
–Michael