[chef] Re: Run recipe twice


Chronological Thread 
  • From: Marco Betti < >
  • To:
  • Subject: [chef] Re: Run recipe twice
  • Date: Sun, 30 Mar 2014 00:06:48 +0100

I think you should use definitions or lwrps. See this blog post, for example:
http://www.devopsnotes.com/2012/02/how-to-write-good-chef-cookbook.html?m=1

Cheers,
Marco

Il 29/mar/2014 23:34 "Nikolay" < "> > ha scritto:
Hello.
I need to deploy an application on to one server twice for different domains.
We have recipe for it. Easiest way, copy it with another name  and change
paths.
But I think it's not the best solution, because if I change the recipe for one,
I  need to change and for another.
How to do it better?
Thanks!



Archive powered by MHonArc 2.6.16.

§