Issue
I'm using puppet to configure a classroom of desktops running Ubuntu 16.04, and I'm using the puppet rel="nofollow">unattended-upgrades module.
However, I can't tell from the docs (I'm a Linux noob) how to use this to automatically upgrade all packages, not just security.
In the overview of the module it says:
The unattended_upgrades module allows for the installation and configuration of automatic security (and other) updates through apt.
The "(and other)" seems to indicate it should be able to do this. How can I use this module to upgrade all installed packages, and not just security updates?
Solution
You need to set "origins". By default it is just security (see here).
apt::unattended_upgrades {
origins => $::apt::params::origins,
update => '1',
download => '1',
upgrade => '1',
autoclean => '7',
}
Answered By - h0tw1r3 Answer Checked By - Willingham (WPSolving Volunteer)