[chef] Re: Re: how are people using the deploy_revision resource?


Chronological Thread 
  • From: Brian McKelvey < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Re: how are people using the deploy_revision resource?
  • Date: Thu, 21 Oct 2010 05:12:41 -0700

I just reference a specific commit hash or tag name in the data bag.  No more unexpected deploys!

Brian

Sent from my iPhone

On Oct 21, 2010, at 3:34 AM, László Bácsi < "> > wrote:

One thing I'm working on at the moment is to prevent the deploy_revision resource from taking action when the chef client runs periodically. We wouldn't want to deploy every time there's something pushed to the repository. The trick I will use here is to check Chef::Config[:interval] and/or Chef::Config[:daemonize] values in the deploy_revision resource to decide on the action to take.

László




Archive powered by MHonArc 2.6.16.

§