summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/Apt.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index f38a479d..b86a6838 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -27,7 +27,9 @@ getHostMirror = do
return $ case (osInfo, mirrorInfo) of
(_, Just (HostMirror u)) -> u
(Just (System (Debian _ _) _), _) ->
- "http://deb.debian.org/debian"
+ "http://deb.debian.org/debian"
+ (Just (System (Buntish _) _), _) ->
+ "mirror://mirrors.ubuntu.com/"
_ -> error "no Apt mirror defined for this host or OS"
where
getHostMirrorInfo :: Propellor (Maybe HostMirror)