summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2018-03-13 16:13:25 +0000
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2018-03-13 16:13:25 +0000
commit386804ccb21903a030be39c3a4b4f4513018fe23 (patch)
tree1d6275cb20b7c2b01635bae752087b3d8f43e37a
parentf500d5a65e34f25eed062b2087c28a1e397c9c9a (diff)
Add more details on unattended_upgrades
-rw-r--r--UPGRADING.md11
1 files changed, 10 insertions, 1 deletions
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
```