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