help-cfengine
[Top][All Lists]
Advanced

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

Re: Copying a directory + purge + links cfengine 2.0.a15


From: Mark . Burgess
Subject: Re: Copying a directory + purge + links cfengine 2.0.a15
Date: Thu, 10 Jan 2002 22:22:54 +0100 (MET)

On 10 Jan, Sheryl Coppenger wrote:
> 
> Mark,
> 
> Thanks for the reply.
> 
> I tried force=true on the copy, and that doesn't seem to make a 
> difference.
> 
> There doesn't seem to be a force=true option on link.  There is
> a nofile=force which doesn't make a difference.  But I think you're
> misunderstanding the situation.  I'm not trying to link to files that
> don't exist.  The problem is that what should be a link already exists 
> as a file and I can't seem to find any way to get cfengine to update
> correctly that case.
> 
> I have binaries abc, abc2
> 
> I want                abc2 to be updated with the new binary
>               abc to be replaced with a soft link to abc2
> 
> Any more ideas, please let me know.
> 
> Thanks again,
> 
> Sheryl
> 
>> 
>> Sheryl, my guess is that you need to force=true the links, since
>> cfengine doesn't link to files/dirs which do not exist by default.
>> 
>> good luck,
>> Mark
>> 
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Work: +47 22453272            Email:  address@hidden
>> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> 
> 
> 


Ah gotcha -- try typecheck=false -- this allows cfengine to overwrite
files of different types.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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