- From: Roland Moriz <
>
- To:
- Subject: [chef] The future of the deploy resource?
- Date: Fri, 9 Jan 2015 12:20:37 +0100
Hi,
the deploy resource and its provider [1] are very opinionated and tied to
deployments of Ruby on Rails applications and modeled after the original
Capistrano workflow defaults. But if you’re not deploying a Rails app, you’re
pretty much out of luck.
Because of its name and relevance („core resource“), many new chef users fall
into this trap.
Any plans to remove this from core chef w.g. with chef 13? A legacy_deploy
cookbook could provide the current logic as HWRP.
Another option would be to just remove the default provider and nest the
current provider options below something, e.g.,
```
Chef::Provider::Deploy::Rails
Chef::Provider::Deploy::Rails::Branch
Chef::Provider::Deploy::Rails::Revision
Chef::Provider::Deploy::Rails::TimestampedDeploy
```
What do you think?
best regards
Roland
[1]
https://docs.chef.io/resource_deploy.html
- [chef] The future of the deploy resource?, Roland Moriz, 01/09/2015
Archive powered by MHonArc 2.6.16.