help-cfengine
[Top][All Lists]
Advanced

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

Re: How to get cfengine to act like tar


From: Mark . Burgess
Subject: Re: How to get cfengine to act like tar
Date: Tue, 1 Oct 2002 21:03:40 +0200 (MET DST)

On  1 Oct, Chris Marlow wrote:
> 
> Mark -
> 
> I created a shorted / more consise config file so that I could run the
> debug for you, and now the copying works as it should.   links as links,
> files as files.  Must be that somewhere in the splitting of the configs, I
> introduced a problem with how it looks at the files.  I'll sort out all
> that at a later time.

Glad to hear it worked out.

> However ,there is one more thing that is stumping me.  Another type of copy
> that comes in useful for how we create packages is to copy from on server
> to another, turning links into real files.  (Akin to the tar -h flag)
> 
> However, while it turns links to files into real files, it runs into
> problems when it comes to links to directories.  An example would be:
> 
> lrwxrwxrwx   1 root     sys            9 Oct 01 13:43 linkdir1 -> ./realdir
> drwxr-sr-x   3 root     sys          512 Oct 01 13:42 realdir
> 
> 
> According to the reference manual for "linktype", for directories, this
> option is ignored.  However, is there an option / config I can use that
> WILL be able to make these links?
> 

I'm abit confused here about what you think should happen. Are you
saying that it should create links to the directories anyway, 
or create a directory?

M

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






reply via email to

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