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
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("
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-cf
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
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 => use
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
Anyone know why when inputs slist is evaluated it does not care about classes
generated from my module call even after I specify the dynamic bundle which
sets and appends inputs
only after the module has been ran with idalv_set:: class below?
body common control {
bundlesequence => { @(g.bu