Forum: Cfengine Help
Subject: defining inline bodies
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21859,21859#msg-21859

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


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


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's also be nice if I could actually use a umask of 002, while I'm on the 
subject. ;)

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

Reply via email to