Hi All,
Can somebody help me with what the rules for naming conventions in chef? May be for cookbook, recipes, roles, environments etc.,I have been looking for documents for the same but couldn’t find it anywhere.
Thanks in advance.
Regards,
Waseem A.
loafy
February 18, 2017, 2:59pm
2
Here are couple links to get you going.
Ruby is a simple programming language:
Chef uses Ruby as its reference language to define the patterns that are found in resources, recipes, and cookbooks Use these patterns to configure, deploy, and manage nodes across the network Ruby is also a...
I am not sure where to report this issue, if there is a better place, please tell me. =)
I was reading the Chef Style Guide , and found this paragraph:
Cookbook Naming
Avoid dashes in cookbook names. This is because many custom resources use the cookbook name as part of the resource name, so the method names themselves can become awkward, but also - cannot be part of a symbol in Ruby and the presence of dashes in cookbook names may trigger undesired errors later on in the process.
However, …
Thanks @loafy , this helped me