Apt module upgrades

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

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

My fault on this part, the apt one actually uses the same format. So it’s a little different than if you were interested in Puppet, but it’s consistent, and perhaps better as we can check “state”
for invalid values and later, in the crazy event that there is a WebUI, make a radio button for it. Pretend I didn’t say that :slight_smile: