-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for evaluating lazy attributes in templates
Previously if you had a template with `variables` that used the `lazy` keyword, previously it was not possible to validate that the blocks were evaluated in the template. The rendered string would contain an `<Chef::DelayedEvaluator>` string. This commit renders the variables to ensure the template renderer displays the lazily-evaluated values.
- Loading branch information
Showing
2 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters