Last modified: 2014-08-08 09:19:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70168, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68168 - Merge multiwiki and mediawiki puppet modules (always a wiki farm)
Merge multiwiki and mediawiki puppet modules (always a wiki farm)
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-17 15:46 UTC by Bryan Davis
Modified: 2014-08-08 09:19 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2014-07-17 15:46:26 UTC
More than one person {{citation needed}} has asked for the ability to apply roles to multiple wikis within vagrant or to specifically target a role to a given multiwiki. As the puppet config exists today, each multiwiki creating role must recreate other roles as needed by popy-n-paste replacement of mediawiki::extension and mediawiki::settings defines with the analog multiwiki::* defines.

It seems like it should be possible to ease this copy-n-paste burden by making the default wiki use the multiwiki features and finding a way to include/exclude wikis from the configuration provided by a role.
Comment 1 Bryan Davis 2014-07-17 15:57:42 UTC
One way this might work is for the existing roles to become defines instead of classes and use a system similar to the system used by multiwiki::extension to to specify the wiki to apply the define to. The enable-role/disable-role feature of the plugin that manages puppet/manifests/manifests.d/vagrant-managed.pp could be extended to take an optional 'wiki' parameter to set the wiki for the define.

This adds quite a bit of complexity to the whole stack however so there should be some discussion and thought put into making the solution reasonable.
Comment 2 Gerrit Notification Bot 2014-07-28 15:07:15 UTC
Change 149872 had a related patch set uploaded by BryanDavis:
[WIP] Rethink multiwiki support

https://gerrit.wikimedia.org/r/149872
Comment 3 Gerrit Notification Bot 2014-08-07 21:58:00 UTC
Change 149872 merged by jenkins-bot:
Rethink multiwiki support

https://gerrit.wikimedia.org/r/149872

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links