From 386804ccb21903a030be39c3a4b4f4513018fe23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Tue, 13 Mar 2018 16:13:25 +0000 Subject: Add more details on unattended_upgrades --- UPGRADING.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index 505a29b..2d31516 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -123,7 +123,12 @@ The puppetlabs modules does not support `unattended-upgrades` natively anymore [ The recommended way to setup this feature is to use the compatible [voxpopuli/unattended-upgrades](https://github.com/voxpupuli/puppet-unattended_upgrades) module. -This modules does quite a lot and is quite complex. More to come on this. +The default configuration is quite sane, but you might want to set up automatic upgrades for the stable release too (and not just stable security): + + class { 'unattended_upgrades': + origins => [ 'origin=Debian,archive=stable', + 'origin=Debian,archive=stable,label=Debian-Security' ] + } # Defines comparison @@ -247,4 +252,8 @@ apt::pin: priority: 2 needrestart::action: automatic + +unattended_upgrades::origins: + - origin=Debian,archive=stable + - origin=Debian,archive=stable,label=Debian-Security ``` -- cgit v1.2.3