[chef] How Can I Run a recipe twice on the same machine with different settings for each invocation?


Chronological Thread 
  • From: Tom Duckering < >
  • To:
  • Subject: [chef] How Can I Run a recipe twice on the same machine with different settings for each invocation?
  • Date: Tue, 18 Oct 2011 17:37:45 +0100

Hi,

I'm wondering if it's possible to apply a recipe twice on the same machine with different settings.

The exact reason is that I have a build farm and each agent can only run a single job at a time. I'd therefore like to install more than one agent on each machine. Each agent needs slightly different settings so that they don't clash.

So I'd like to say, run the agent recipe passing it a parameter to say "agentId=1" and run it again with "agentId=2" and so on.

Thanks in advance.
Tom

--
Tom Duckering



Archive powered by MHonArc 2.6.16.

§