Hi Aleksey, in the context of a body part, a complete statement is a body constraint, but in the context of a body a complete statement is a promise.
M On 07/05/11 17:51, Aleksey Tsalolikhin wrote: > Hi. I'm trying to understand Cfengine 3 bodies better. Why are body > parts attributes separated by semicolons but promise attributes > separated by commas? > > For example: > > > --- start of body parts example --- > bundle agent example > { > storage: > > "/" volume => min_free_space("25%"); > > } > > > body volume min_free_space(free) > { > check_foreign => "false"; > freespace => "$(free)"; > sensible_size => "10000"; > sensible_count => "2"; > } > --- end of body parts example --- > > > --- start of promise attributes in the bundle example --- > bundle agent example > { > > files: > > "/tmp/testfile" -> "Cfengine class", > create => "true", > mode => "0740"; > } > --- end of promise attributes in the bundle example --- > > So why do we separate attributes with commas in the bundle, and with > semicolons in the body? > > Thanks, > Aleksey > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine