On Tue, 10 May 2011 00:00:06 +0200 (CEST) no-re...@cfengine.com wrote: 

n> Is it possible to define a compound body inline?  I'd like to do something 
like

n> commands:
n>   "$(command)"
n>     contain => { useshell => "false"; umask => "002"; };


n> but I'm not seeing an obvious way to do that.  Yeah, I could come up with a 
unique bundle name for every situation, or parameterize everything I care about 
- but for one-off situations where I just need to specify a couple of values, 
it'd be nice to be able to just do it inline rather than defining a new body.

It would be nice if the cfengine parser could generate on-the-fly bodies
for this case, e.g. `command_contain_useshell_false_umask_002' or
`gensym_120' depending on your Lisp affinity.

Ted
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to