Auto-deploy Not Entirely Working

jon's Avatar

jon

17 Feb, 2012 05:56 PM via web

I have a recipe called non_rails::deploy that I have attached to the deploy event of my Rails servers. When I deploy a non-rails app to these servers, the recipe works, and deploys these apps (which just entails a checkout of the code; no Apache rules, etc.). Unfortunately, when new servers get started, they don't get any non-rails apps deployed.

I see a similar problem when booting up servers under my custom resque-worker role, which has the rails::deploy recipe hooked into the deploy event. However, nothing gets deployed to these servers at startup; I have to manually do the deploys.

How can I fix these servers so all of my apps get deployed, regardless of type?

  1. Support Staff 2 Posted by Daniel Hüsch on 20 Feb, 2012 07:12 AM

    Daniel Hüsch's Avatar

    Attaching the recipes in question to the setup event as well should do the trick for you.

  2. 3 Posted by jon on 23 Feb, 2012 10:59 PM

    jon's Avatar

    That fixed it. Thanks.

  3. jon closed this discussion on 23 Feb, 2012 10:59 PM.

Comments are currently closed for this discussion. You can start a new one.