Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26668,26860#msg-26860
Sorry for that : RTFM :D
Thanks
___
Help-cfengine mailing list
Help-cfengine@
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26847#msg-26847
http://cfengine.com/manuals/cf3-Reference#Function-usemodule
___
Help-cf
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26668,26846#msg-26846
Hi,
I've got question related to your code ...
classes:
"idalv_set" expression => usemodule("idalv-cftxt","");
Is t
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: vladi
Link to topic: https://cfengine.com/forum/read.php?3,26668,26707#msg-26707
Like this?
bundle agent idalv {
classes:
"idalv_set" expression => usemodule("idalv-cftxt","");
vars:
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26702#msg-26702
Can you pair it down to a small self contained example?
___
Help-cfengin
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: vladi
Link to topic: https://cfengine.com/forum/read.php?3,26668,26698#msg-26698
Also tried this with no success:
bundle agent idalv {
classes:
"idalv_set" expression => usemodule("idalv-cftx
Forum: CFEngine Help
Subject: Re: Dynamic inbuts based on classes set from usemodule.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26668,26677#msg-26677
If you want a common bundle to be evaluated for use with the common control
body then it must reside in promises.cf