On 15/08/12 12:26, Mike Brodbelt wrote:
> I would like to have a variable assignment happen after the execution
> of one file promise, before a second one happens.
Add a classes => ... clause to your files promises, e.g.:
"filename"
classes => always("filename_promise_executed"),
... other clauses here...
and condition the variable assignment to the filename_promise_executed
class being set.
Suggested reading: Learning Cfengine 3 by Diego Zamboni
http://cf-learn.info/
The book will teach you this and many other "tricks", and explain how to
take advantage of normal ordering.
Ciao
-- bronto
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine