From 227effc1ad0da4ebe4540bd1b586b6363b686dfc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 May 2014 13:44:25 -0400 Subject: Fix unattended-upgrades config for !stable. --- debian/changelog | 6 ++++++ src/Propellor/Property/Apt.hs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 16ababc2..70d66e0a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +propellor (0.5.3) UNRELEASED; urgency=medium + + * Fix unattended-upgrades config for !stable. + + -- Joey Hess Sun, 18 May 2014 13:44:00 -0400 + propellor (0.5.2) unstable; urgency=medium * A bug that caused propellor to hang when updating a running docker diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index 7329c7a8..c33875b0 100644 --- a/src/Propellor/Property/Apt.hs +++ b/src/Propellor/Property/Apt.hs @@ -213,7 +213,7 @@ unattendedUpgrades = RevertableProperty enable disable | not (isStable suite) -> ensureProperty $ "/etc/apt/apt.conf.d/50unattended-upgrades" `File.containsLine` - ("\t\"o=Debian,a="++showSuite suite++"\";") + ("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a=unstable\"; };") _ -> noChange -- | Preseeds debconf values and reconfigures the package so it takes -- cgit v1.2.3