custom promises: use data from python list in mustache template

Xander Cage <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Hi,

i need to create a "custom promise" which read some string base data from 
system files. i want to use this data inside a cfengine mustache template 
to write out to another file.
i skimmed through the "custom" api docs but could not find a hint how to 
transpose data from the underlying module code (python list) in an cfengine 
variable. or is it as easy as just  returning the list as a json string?
 is this even possible?

wbr

chris



-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/44c5b012-4081-4012-8480-52b848e01fb1n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.