summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorSean Whitton2017-03-19 08:19:43 -0700
committerSean Whitton2017-03-19 08:25:59 -0700
commit92497f99f01411e618df92dd1a6f82ce63d3854d (patch)
tree88f493d25a19468e54896f50078dd5915fe48082 /src/Propellor/Property/Apt.hs
parente3f58a00132dcab5504086efd980efe582932c96 (diff)
add Ubuntu std mirror to Apt.hs
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-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)