Hi all,

I'm testing CFENGINE 3.1.2.1 on a SLES10 Box, and I experience a newbie
problem.

I wrote a cf file from the community site :



bundle agent *filetest*
{
files:

# This is a throw-away comment, below is a full-bodied promise



"/tmp/testfile"                      # promiser

   comment => "This is for keeps...", # Live comment
    create => "true",                 # Constraint 1
     perms => m("612");               # Constraint 2, rw---x-w-
}


I've updated the promises.cf file like this :

body common control

{
bundlesequence  => {
                   "update",
                   "garbage_collection",
                   "main",
                   "cfengine",
 *                  "filetest"*
                   };

inputs          => {
                   "update.cf",
                   "site.cf",
                   "cfengine_stdlib.cf",
*                   "test.cf"*
                   };
}




cf-promises and cf-agent command don't return any error. But my test file is
not created.
I probably mistake my mind, but i can't find the problem.

I hope you can help me.

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

Reply via email to