On Mon, Sep 20, 2010 at 9:46 AM, Francisco Reyes <li...@stringsutils.com> wrote: > ) > > Towards the bottom where you have: > cf-agent -v test_copy.cf -K > > Shouldn't it be: > cf-agent -v -f test_copy.cf -K
You're right! Fixed. Thank you. Glad you got some help on IRC. > Personally I think the concepts make total sense. It is just the way much of > the information is organized. I agree, and there is a lot to take in. > I did not see any mention of the key exchange part for the client. Later I > discovered that trustkey => "true"; > > Does the magic in the client, but would be nice if you mentioned in the > text. Good point - fixed. > Also this part was a little confusing: > { > files: > "/home/aleksey/testcopy1" > copy_from => > my_copy_body_with_options("/home/aleksey/testcopy2","192.168.1.10"); > } > > Why the different names testcopy1 and testcopy2? > Is testcopy1 the source name and testcopy2 the target name? > Is testcopy a file or a directory? testcopy1 is the promiser - it's the system resource that the promise concerns, or that will be affected by the promise. testcopy1 promises to be a copy of testcopy2, or a copy from testcopy2. Try it now and see what you make of it. I've also updated the article text. Thanks!! Best, -at _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine