Le 2014-12-11 16:28, Douglas Garstang a écrit :
You're mixing things. The usage paragraph is how to use the cookbook the way it was written (99% of the cases).
The attributes and recipes paragraphs are there to describe what is inside the cookbook in case you wish to use them in a specific case which is not the default behavior.
Exemple: if you wish to install oracle jdk without overwriting system java, you'll use directly the oracle recipe and won't include the default_java_symlink.
Another use case would be 2 software needing specific jdk for each, you may wish to have oracle and ibm jdk on your system and configuring your apps to use the appropriate one.
In brief: the usual usage is working with attributes, but you have the option to do something more specific with the recipes if you need to.
|
Archive powered by MHonArc 2.6.16.