Forum: CFEngine Help
Subject: Re: Variable convergence mystery
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,26796,26804#msg-26804
Ok this is interesting.
If I change the vars order and have no class set on filename, or if I have
specified the any class
vars:
"filename" string => "/tmp/nodebug";
debug::
"filename" string => "/tmp/debug";
vars:
any::
"filename" string => "/tmp/nodebug";
debug::
"filename" string => "/tmp/debug";
I get
-> Created file /tmp/debug, mode = 600
R: I repaired /tmp/debug
If I change the vars ordering like this
bundle agent test(param){
vars:
debug::
"filename" string => "/tmp/debug";
any::
"filename" string => "/tmp/nodebug";
I get
-> Created file /tmp/nodebug, mode = 600
R: I repaired /tmp/nodebug
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine