apt: unattended upgrades for wikimedia packages by default
Include the required bits to get unattended upgrades for wikimedia packages
if using the apt::unattendedupgrades class.
We want wikimedia deb packages being upgraded by unattended-upgrades also in
labs machines, as it happens with the contint machines. To achieve this,
factor our the config into the common class apt::unattendedupgrades.
Note that the only users of this class right now are:
% git grep ::apt::unattendedupgrades
modules/contint/manifests/packages/apt.pp: include ::apt::unattendedupgrades
modules/profile/manifests/base/labs.pp: include ::apt::unattendedupgrades
In the future, if someone would like to use this class but don't get wikimedia
deb packages upgraded, we could add a parameter for the class to disable this.
Signed-off-by: Arturo Borrero Gonzalez <email@example.com>