Page MenuHomePhabricator

[Trebuchet] Implement a custom Package provider
Closed, ResolvedPublic

Description

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


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz59931

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:37 AM
bzimport set Reference to bz59931.
bzimport added a subscriber: Unknown Object (MLST).

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.

Change 155603 had a related patch set uploaded by BryanDavis:
Add 'trebuchet' package provider.

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

Change 155603 merged by Ori.livneh:
Add 'trebuchet' package provider and role.

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