[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: action=warn does not work on copy:
From: |
Mark Burgess |
Subject: |
Re: action=warn does not work on copy: |
Date: |
Thu, 18 Aug 2005 18:08:16 +0200 |
Thanks for this note. This behaviour seems wrong and has been fixed in
current sources.
M
On Thu, 2005-08-04 at 11:40 -0700, Bob wrote:
> 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