From 92497f99f01411e618df92dd1a6f82ce63d3854d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 19 Mar 2017 08:19:43 -0700 Subject: add Ubuntu std mirror to Apt.hs --- src/Propellor/Property/Apt.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Propellor') 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) -- cgit v1.2.3