Page MenuHomePhabricator

Convert configuration to local repo on Tin for Wikimania Scholarships application
Closed, DeclinedPublic

Description

The .env configuration file for the application is currently managed via the role::wikimania_scholarships puppet role. Ryan Lane suggests that this be migrated out into a local configuration repository on Tin instead to more closely match other git-deploy managed projects and to decouple the configuration of the app from puppet and the operations team.

  1. Create a configuration repository at scholarships/config
  2. Add a checkout_module_calls stanza to the deployment role for scholarships
  3. Remove the existing .env management from puppet

Ryan suggests that this checkout_module_calls stanza should do the right thing:

checkout_module_calls' => {
  'file.symlink' => [
    '/srv/deployment/scholarships/config/.env',
    '/srv/deployment/scholarships/scholarships/.env'
   ]
}

Version: wmf-deployment
Severity: normal

Details

Reference
bz58561

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:27 AM
bzimport set Reference to bz58561.
bzimport added a subscriber: Unknown Object (MLST).
bd808 claimed this task.

I think this is a won't fix bug. The only real issue for the config management in puppet is that changes could take a while to get merged, but I think we can get help Ops when we need it. The down side of doing this however is that either the config repo would only exist locally on tin or it would be visible in gerrit. The latter is not an option do to the inclusion of passwords in the config file.