diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-19 08:19:43 -0700 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-19 08:25:59 -0700 |
| commit | 92497f99f01411e618df92dd1a6f82ce63d3854d (patch) | |
| tree | 88f493d25a19468e54896f50078dd5915fe48082 /src | |
| parent | e3f58a00132dcab5504086efd980efe582932c96 (diff) | |
add Ubuntu std mirror to Apt.hs
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Apt.hs | 4 |
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) |
