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.
https://docs.chef.io/ruby.html#
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