Maybe I'm doing something wrong, but the manual seems pretty clear on
this.
I'm trying to check whether one tree of files is up-to-date with
respect
to the master copy.  I tried this:

control:

   actionsequence = ( copy )

copy:

    /usr/local/ftp   server=foo.example.com  dest=/home/rel900/tmp/test
        r=inf action=warn

No files were in the destination, but it did not warn me of that.  It
did not
copy the files, but it DID create all the directories in the tree.
Using action=fix did copy the files, but did not tell me that it was
doing so.
Using action=silent also copied the files, and (correctly) did not tell
me about it.
Leaving off the action= option also caused a silent copy (as
documented).

Does action=warn work?  And when I am ready to copy the files, how can
I get
cfagent to inform me which ones it's copying?  I infer that action=fix
might
be supposed to do that, but it doesn't.  Is there another setting I
need to add?

Thanks for your help.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to