summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:13:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:13:12 +0200
commitdf4411748bf4e6ab320fa7c588afa844ea77c2d5 (patch)
treefebf3399b017975b5be098a06654de39589b8c60
parentfc5bc30020f4a3023a3a50816420d005c420f3ee (diff)
downloadpuppet.WDORF-df4411748bf4e6ab320fa7c588afa844ea77c2d5.tar.gz
puppet.WDORF-df4411748bf4e6ab320fa7c588afa844ea77c2d5.tar.bz2
puppet.WDORF-df4411748bf4e6ab320fa7c588afa844ea77c2d5.zip
site.pp: Enable unattended-upgrades for new nodes by default.
-rw-r--r--code/environments/production/manifests/site.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp
index 80ff8cc..3525316 100644
--- a/code/environments/production/manifests/site.pp
+++ b/code/environments/production/manifests/site.pp
@@ -277,5 +277,16 @@ node /notebook.*\.intern$/ {
node "default" {
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
+ class { 'unattended_upgrades':
+ enable => 1,
+ origins => $apt_origins,
+ auto => {
+ 'clean' => 7,
+ },
+ upgradeable_packages => {
+ download_only => 1,
+ debdelta => 1,
+ },
+ }
class { 'browsers': }
}