http://www.cfengine.org/manuals/cf3-reference.html#Rules-are-promises
Aleksey Tsalolikhin wrote:
> What does "promiser" mean, please? I am on PDF page 17 of the
> cfengine 3 tutorial workbook,
> http://www.cfengine.org/manuals/cf3-tutorial.pdf
>
> Line 9, below.
>
> 1 body common control
> 2 {
> 3 bundlesequence => { "fileperms" };
> 4 }
>
>
> 5 bundle agent fileperms
> 6 {
> 7 files:
>
> 8 # This is a throw-away comment, below is a full-bodied promise
>
> 9 "/tmp/testfile" # promiser
>
> 10 comment => "This is for keeps...", # Live comment
> 11 create => "true", # Constraint 1
> 12 perms => p("612"); # Constraint 2, rw---x-w-
> 13 }
>
> 14 # This is a trivial body template, which makes parameterizing
> 15 # the promise body tidier and re-usable
> 16 body perms p(x)
> 17 {
> 18 mode => "$(x)";
> 19 }
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine