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
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.