Skip to content

Instantly share code, notes, and snippets.

@mikeweilgart
mikeweilgart / dependencies.cf
Created November 27, 2016 17:13
CFEngine 3 limits promise evaluation to three passes.
# Run me with:
# cf-agent -vKf ./dependencies.cf
bundle agent main {
vars:
any::
"pre_eval" string => "This is set during a pre-eval pass.";
first_pass_complete::
"second_pass" string => "Vars before classes, so this is set 2nd pass.";
second_pass_class::