Last modified: 2012-06-26 15:45:46 UTC
Right now there is beta-specific stuff: * inline in the production configuration files with if-cluster * in the non-standard file InitializeSettingsDeploy.php that exists only on the beta server, and included through a patch in wmf-config wmf-config: * CommonsSettings.php * InitializeSettings.php * ... * production/ - PrivateSettings.php (only in local repo in production/fenari) - ClusterSettings.php (contains stuff specific to the cluster) - db.php - mc.php * beta/ - PrivateSettings.php (only in local repo on beta/deployment-dbdump) - ClusterSettings.php (contains stuff specific to the cluster) - db.php - mc.php We still need a way to guide the inclusion of the right directory though. Maybe an environmental variable can be used? Hashar suggested /etc/profile maybe
<hashar> or /etc/cluster
/etc/cluster would be great, I am not sure how bad it is to have every request doing a stat + read that file. Note that on deployment-prep project, the machine deployment-dbdump has a file /etc/cluster which contains 'pmtpa' !!! ;-D
Assigning this bug to myself. The config is still synced manually for now. One idea would be to have a /etc/wikimedia-realm file containing puppet $::realm variable. Change is: https://gerrit.wikimedia.org/r/12377
I have made a good progress on that item. We still have to sort out the wgRC2UDPAddress though.
I have done the migration this morning. Old common is in /usr/local/apache/common-back so we can fetch from it if anything is missing from the git repo. I have checked wgRC2UDPAddress: $ mwscript eval.php --wiki=commonswiki > var_dump( $wgRC2UDPAddress ); bool(false)