- From: Tim Uckun <
>
- To:
- Subject: [chef] Re: Re: Trying to deploy a rails app but having some issues.
- Date: Thu, 5 Jan 2012 22:55:31 +1300
>
>
I have written a RoR application deployment cookbook. I would say writing
>
your own is the best way to go.
I have started going down this route. I think what I am going to do is
to integrate caphub with chef solo at this point. I have set up a
caphub structure, I plan on checking it out of git (or putting it
inside the kitchen as a submodule) and then shelling out to it. This
allows me to deploy both manually and automatically via chef
>
>
Have you considered creating the log directory in the target application
>
directory inside a shared folder and then symlinking that in to the actual
>
deployment directory, that seemed to work out best. That way you can have
>
the logs persist over deployments, and have the system use log management
>
software to purge older logs or compress them etc…?
>
This is what the deploy resource is attempting to do but not doing quite
right.
Archive powered by MHonArc 2.6.16.