help-cfengine
[Top][All Lists]
Advanced

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

RE: cfsaved files : cfengine 2.0.4


From: Rick Nekus
Subject: RE: cfsaved files : cfengine 2.0.4
Date: Mon, 4 Nov 2002 20:46:32 -0400



-----Original Message-----
From: Lumpkin, Buddy [mailto:Buddy.Lumpkin@nordstrom.com]
Sent: Monday, November 04, 2002 3:53 PM
To: Mark.Burgess@iu.hio.no; Rick.Nekus@Worldgaming.com
Cc: help-cfengine@gnu.org
Subject: RE: cfsaved files : cfengine 2.0.4

Can you put the cfsaved file under a tmp directory somewhere rather than littering the directories where the file is being copied?

-within your "copy:"  action you can declare
...
backup=true
repository=/directory_of_your_choice
...
(ex.  If /tmp then all *.cfsaved  files should go there only.
you may have to admit: , or grant: access to any dir you need to write to in cfservd.conf


An example is whenever I reboot a system, I see the message cron: root.cfsaved, no such user.

This is just an example of the kinds of unexpected effect an incomplete file xfer can cause. This one is somewhat benine but im sure there are scenarios where this isn't the right solution. What is the file is large? I wouldn't want it arbitrarily just dropped where the destination file goes. It would be nice to have an optional parameter that can be set for temp files so that people can choose the default behavior or have all stuff centralized in one place.

Thoughts?

--Buddy

-----Original Message-----
From: Mark.Burgess@iu.hio.no [mailto:Mark.Burgess@iu.hio.no]
Sent: Saturday, November 02, 2002 2:08 AM
To: Rick.Nekus@Worldgaming.com
Cc: help-cfengine@gnu.org
Subject: Re: cfsaved files : cfengine 2.0.4



Not currently, but this is a good idea that I shall add in the next
release. I hope you can hold out until about Xmas. I am very
busy right now.

Mark

On  2 Nov, Rick Nekus wrote:
> Hi all,

> -Is there a way when a file is being copied via cfengine that the default
> "*.cfsaved" file can be
> appended with a "*.cfsaved.($date)($timestamp)"   this would give it a
> unique name that wouldn't get overwritten the next time the file gets
> update. ?
> -there's mention of a 'cfrc' resource file ; classes.c; and/or cf.defs.h
> but this may only be for renaming classes .
> -I'm using cfengine 2.0.4 on redhat 7.3

> thankyou,

> Rick

> Rick.nekus@worldgaming.com



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




_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine


reply via email to

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