Kill ubuntu.wikimedia.org legacy hostname

Authored by faidon on Feb 24 2017, 3:59 PM.

Description

Kill ubuntu.wikimedia.org legacy hostname

Our Ubuntu mirror moved to the more generic mirrors.wikimedia.org in
early 2015. All of our internal use cases were migrated long ago, as was
Ubuntu's mirror listing. There was plenty of time for users to migrate
to the new hostname and those that didn't, realistically won't until the
old hostname breaks.

Change-Id: I7ef45c8cc3f2096a3193c2278623df62e2fc21f9

Details

Committed
faidonMon, Feb 27, 1:21 PM
Parents
rOPUPaea690383dba: profile::conftool::client: add default schema
Branches
Unknown
Tags
Unknown
References
refs/changes/52/339652/2
ChangeId
I7ef45c8cc3f2096a3193c2278623df62e2fc21f9
Dzahn added a subscriber: Dzahn.Wed, Mar 1, 8:32 PM

I saw a puppet error on terbium and found it was trying to install a package and was looking for ubuntu.wikimedia.org which was still in its /etc/apt/sources.list.

I replaced ubuntu.wikimedia with mirrors.wikimedia and ran apt-get update.

Then i checked with salt if there are more hosts still using it and i found quite a few of them, all trusty.

After first doing some of them manually i eventually ran this on all trusty hosts:

[neodymium:~] $ sudo salt --out=txt -b 10 -C 'G@lsb_distrib_codename:trusty' cmd.run "sed -i 's/ubuntu.wikimedia/mirrors.wikimedia/g' /etc/apt/sources.list && apt-get update"