views:

72

answers:

1

How is it possible to keep my rails application up to date using chef?

While reading documentation I understood how to set up servers from scratch using knife bootstrap. But is it possible to run another tasks after this?

Earlier I have used capistrano but now we have two staging and ten production servers which needs to be up to date when new version of the application is released.

+1  A: 

The best thing to do is to look at the built in Deploy resource

You might also want to look at the Application cookbook. This is a bit harder to grok, but it lets you deploy an application driven off a databag.

Ash Berlin