Last modified: 2014-08-22 18:17:03 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 T61931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59931 - [Trebuchet] Implement a custom Package provider
[Trebuchet] Implement a custom Package provider
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-11 00:59 UTC by Ori Livneh
Modified: 2014-08-22 18:17 UTC (History)
5 users (show)

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


Attachments

Description Ori Livneh 2014-01-11 00:59:07 UTC
Problem: deployment::target resources belong in the modules that configure them, but deployment::target is highly Wikimedia-specific. Solution (proposed by Bryan D.): have a custom Package provider for Trebuchet. It should also perform the work currently performed by the configuration block for each deployed stack in <manifests/role/deployment.pp>, exporting it to the deployment / salt master nodes or whatever.

http://docs.puppetlabs.com/guides/custom_types.html#deploying-and-using-types-and-providers
Comment 1 Ryan Lane 2014-02-08 19:36:26 UTC
Another option is to target roles as defined by puppet:

https://gerrit.wikimedia.org/r/#/c/107831/

We'll likely need to move the configuration block out of puppet and into a hash for multi-master salt to work well anyway. In the future the configuration hash should be in hiera anyway.
Comment 2 Gerrit Notification Bot 2014-08-21 20:04:18 UTC
Change 155603 had a related patch set uploaded by BryanDavis:
Add 'trebuchet' package provider.

https://gerrit.wikimedia.org/r/155603
Comment 3 Gerrit Notification Bot 2014-08-22 17:15:05 UTC
Change 155603 merged by Ori.livneh:
Add 'trebuchet' package provider and role.

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

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


Navigation
Links