help-cfengine
[Top][All Lists]
Advanced

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

RE: action=warn does not work on copy:


From: Martin, Jason H
Subject: RE: action=warn does not work on copy:
Date: Thu, 4 Aug 2005 11:43:50 -0700

inform=true will tell you that it made the changes, by default the fix is 
silent.

-Jason Martin

-----Original Message-----
From: address@hidden
[mailto:address@hidden
Behalf Of Bob
Sent: Thursday, August 04, 2005 11:41 AM
To: address@hidden
Subject: action=warn does not work on copy:


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
address@hidden
http://lists.gnu.org/mailman/listinfo/help-cfengine




reply via email to

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