Last modified: 2014-07-25 21:48:28 UTC
mw.config.get( 'wgCentralAuthCheckLoggedInURL' ); "//login.wiki.local.wmftest.net:/wiki/Special:CentralAutoLogin/checkLoggedIn?type=script&wikiid=wiki" And calls to that will obviously fail.
*.local.wmftest.net resolves to 127.0.0.1 as served from the WMF DNS servers. $ dig +short @NS0.WIKIMEDIA.ORG login.wiki.local.wmftest.net 127.0.0.1
Sorry. I didn't notice the labs-vagrant in title. I'm not sure how to resolve this generically for a labs host. It would at least require a second proxy to be registered for the labs instance wouldn't it?
Yeah, I ended up creating multiple proxies pointing to my instance and setting up a switch ( $_SERVER['HTTP_HOST'] ){} to point to different databases, and did the rest of the CA set up manually. I tried fiddling around with the puppet files and changing the instances of *.wiki.local.wmftest.net to *-legoktm.wmflabs.org, but that didn't work and I don't remember why.
Change 148317 had a related patch set uploaded by BryanDavis: [WIP] centralauth: Use hiera to allow variable customization https://gerrit.wikimedia.org/r/148317
The pending patch has been used to setup http://sulfinalization.wmflabs.org/ and http://login-sulfinalization.wmflabs.org/ on sul-test.eqiad.wmflabs. I created /vagrant/puppet/hieradata/local.yaml there to change the naming scheme from the defaults for labs: --- role::mediawiki::hostname: "sulfinalization.wmflabs.org" multiwiki::base_domain: "-sulfinalization.wmflabs.org" This seems to be working well, but I'd like to give Ori a chance to review the way that I've introduced hiera usage in MediaWiki-Vagrant and see if it is too his liking.
Change 148317 merged by jenkins-bot: centralauth: Use hiera to allow variable customization https://gerrit.wikimedia.org/r/148317