help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

action=warn does not work on copy:


From: Bob
Subject: action=warn does not work on copy:
Date: 4 Aug 2005 11:40:38 -0700
User-agent: G2/0.2

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]