[Labs-l] Accessing the databases from labs - A comparison with the toolserver
Brad Jorsch (Anomie)
bjorsch at wikimedia.org
Fri Jul 12 16:02:15 UTC 2013
On Fri, Jul 12, 2013 at 11:43 AM, Marc A. Pelletier <marc at uberbox.org> wrote:
> On 07/12/2013 11:13 AM, Platonides wrote:
>> - How to detect if you are running in labs? (for dual tools)
>
> Possibly the very simplest way to do this would be to provide (say)
> /etc/labs on every tool labs host, testing for its presence should be a
> reliable indication. I'll add this shortly.
WMF's puppet rules are already creating /etc/wikimedia-realm,
/etc/wikimedia-site, and /etc/wmflabs-instancename.
More information about the Labs-l
mailing list