Closed jescholl closed 5 years ago
I'm currently creating the files through templates directly, but it would be nice to have lazy evaluation available.
Closing due to inactivity.
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks, Sous-Chefs
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
consul_definition
serializes to JSON, then writes the serialized content out with afile
resource'scontent
attribute. The serialization process makes it impossible to use chef'slazy
evaluator within the parameters.Here is a simple example.
results in a config file like this.
If, however you try to use the lazy evaluator...
the lazy evaluator gets serialized instead of called.