On 8 September 2010 12:10, SMiX firstname.lastname@example.org wrote:
How is it possible to keep my rails application up to date using chef?
I’m using the deploy resource and some custom cookbooks to do it, but
Opscode’s application cookbook looks like it could work well - when I
was writing my deployment code it wasn’t around.
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?
Yes. Bootstrapping is just the very surface of what Chef is capable
of. I’d suggest that you read through the “Chef Basics” documentation
on the wiki to get an idea of what’s possible, and then come back and
ask for clarification of anything that’s unclear to you, since it’s a
really quite wide topic to cover in an e-mail like 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.
You’re in luck. That’s something that Chef is incredibly good at