Run recipe twice


#1

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!


#2

I think you should use definitions or lwrps. See this blog post, for
example:

Cheers,
Marco
Il 29/mar/2014 23:34 “Nikolay” work@murga.kiev.ua 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!