Hello Seva,

Thanks for your input but that statement does not apply here since my var is 
constant within the bundle.  The policy statement applies when the var can be 
redefined within a bundle.

>From the doc:
Variables can either be allowed to change their value dynamically (be 
redefined) or they can be constant. The use of private variable spaces in 
cfengine 3 makes it unlikely that variable redefinition would be necessary in 
cfengine 3.

Btw I just tested the 3.1.0b with my issue and ... drum roll... it did fix my 
problem hip hip hurray....

marco

-----Original Message-----
From: Seva Gluschenko [mailto:seva.glusche...@gmail.com] 
Sent: Tuesday, October 05, 2010 1:56 AM
To: Lebel, Marco
Cc: help-cfengine@cfengine.org
Subject: Re: Promises being ignore!!!

Marco,

this is not the bug but the way Cfengine evaluates variables (as it is
described in the reference manual, BTW). If you want slist to be
re-evaluated, you should add "policy => overridable" to that slist
definition.

As always, running cf-agent -v (in verbose mode) provides you with
much more details about promises run.

-- 
SY, Seva Gluschenko.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to