apt: Change how purging is managed.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Sat, 28 Feb 2015 15:12:47 +0000 (16:12 +0100)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Sat, 28 Feb 2015 15:50:31 +0000 (16:50 +0100)
commita1ce8bdea47165bd6a26310ab6de90c85c7c8436
treecac589566cfcb2e371cc6bd0cebf7c2725d1ef9a
parentaae853b585329366bf6b3152a7852f2e2fb8b6b4
apt: Change how purging is managed.

* Instead of having 4 options controlling purging we now have a single
  hash with four possible keys.
* We purge everything by default.
* `/etc/apt/preferences` is now always managed.
* Add missing `mode` to some of the files.
manifests/init.pp
manifests/params.pp
spec/classes/apt_spec.rb