Skip to content

Lazy evaluation of property#3

Open
zerikv wants to merge 2 commits into
rylarson:masterfrom
zerikv:feat-add-lazy
Open

Lazy evaluation of property#3
zerikv wants to merge 2 commits into
rylarson:masterfrom
zerikv:feat-add-lazy

Conversation

@zerikv
Copy link
Copy Markdown

@zerikv zerikv commented May 13, 2018

Just a little change in order to be able to evaluate the value of the property with a closure during execution phase.

java_properties '<properties_file>' do

   property 'key', lazy { node.run_state['runtime_var'] }

end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant