02 Feb 2014
Attributes and string interpolation in Chef
When your attributes contain a lot of string interpolation it can be confusing to know why some note attributes have one variable and other have another. This is due to when the attributes file is evaluated.
The latest java cookbook creates the string attributes in a recipe vs. the attribute file, which can alleviate some of these issues.
Recipe to set attributes:
Attributes with no string interpolation:
Want to contribute to this article? Edit this post on Github!