Some time ago apt was migrated to use active/passive DNS discovery records. this allows us to easily move the apt.wikimedia.org domain between sites. however there are still some aspects of what we consider the primary server to be controlled by puppet (see this change. We should investigate if we can leverage confd to to also control theses aspects.
A simple solution could be to writ a custom fact that interacts with confd to pull this information and feed it into puppet.
This task should also consider the work to move the apt serveres behind the caches (T317178)
We should also update the dc switch over wiki with any changes