summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-11-15 12:47:47 -0500
committerMicah Anderson <micah@leap.se>2014-11-15 12:47:47 -0500
commit70c0703065138fc17e4c9a3d30dbc724e12ad607 (patch)
tree4a9ecc08d10269f722635c4b9ae9219734a691cf /puppet
parent8abcc784b0fe1daad22dfd1ca8ecd068723e965d (diff)
parentc150fa3eb79d822850205c0178de9bb5f422ae01 (diff)
Merge branch 'feature/4425' into develop
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_apt/files/Debian/50unattended-upgrades16
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/files/Debian/50unattended-upgrades b/puppet/modules/site_apt/files/Debian/50unattended-upgrades
new file mode 100644
index 00000000..f2f574fc
--- /dev/null
+++ b/puppet/modules/site_apt/files/Debian/50unattended-upgrades
@@ -0,0 +1,16 @@
+// this file is managed by puppet !
+
+Unattended-Upgrade::Allowed-Origins {
+ "${distro_id}:stable";
+ "${distro_id}:${distro_codename}-security";
+ "${distro_id}:${distro_codename}-updates";
+ "${distro_id} Backports:${distro_codename}-backports";
+ "leap.se:stable";
+};
+
+APT::Periodic::Update-Package-Lists "1";
+APT::Periodic::Download-Upgradeable-Packages "1";
+APT::Periodic::Unattended-Upgrade "1";
+
+Unattended-Upgrade::Mail "root";
+Unattended-Upgrade::MailOnlyOnError "true";