aboutsummaryrefslogtreecommitdiff
path: root/files/Debian/50unattended-upgrades
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2014-10-28 14:02:57 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2014-10-28 15:29:25 -0400
commit5a8d214529429b5dd898e0df29d69e0acf5271df (patch)
treee3d5a6523bd310d7f4e2ee4c4429e55af025fbae /files/Debian/50unattended-upgrades
parent98ad878c1a0d2dfbeb9ff91d155ac759e12f1d4e (diff)
downloadpuppet-apt-5a8d214529429b5dd898e0df29d69e0acf5271df.tar.gz
puppet-apt-5a8d214529429b5dd898e0df29d69e0acf5271df.tar.bz2
Change default 50unattended-upgrades on Debian
* Use squeeze-lts origin on squeeze * All other releases use newer Origins-Pattern format * Drop support for lenny
Diffstat (limited to 'files/Debian/50unattended-upgrades')
-rw-r--r--files/Debian/50unattended-upgrades12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/Debian/50unattended-upgrades b/files/Debian/50unattended-upgrades
index 0901ad3..88f4ab8 100644
--- a/files/Debian/50unattended-upgrades
+++ b/files/Debian/50unattended-upgrades
@@ -1,11 +1,11 @@
// 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";
-};
+Unattended-Upgrade::Origins-Pattern {
+// "o=Debian,n=${distro-codename}";
+// "o=Debian,n=${distro-codename}-updates";
+// "o=Debian,n=${distro_codename}-proposed-updates";
+ "o=Debian,n=${distro_codename},l=Debian-Security";
+}
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";