help-cfengine
[Top][All Lists]
Advanced

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

Re: cfsaved file


From: Mark Burgess
Subject: Re: cfsaved file
Date: Fri, 3 Oct 2003 09:21:28 +0200 (MEST)

On  2 Oct, Garrett, Matt M SITI-ITDIEEE wrote:
> Folks / Mark
> 
> Come across a small problem with cfengine 2.0.7p3 and copy saved files.
> 
> One of the copies , copies files in to /etc/rc3.d on a Solaris 8
> system Now the file gets backed up to filename.cfsaved e.g
> S99sshd.cfsaved
> 
> The problem is that on a reboot both the original and the backup file
> also get run. e.g
> /etc/rc3.d/S99sshd
> /etc/rc3.d/S99sshd.cfsaved
> 
> Now I could use the copy , backup=false option
> So I don't get a backed up file.
> 
> However I quite like the idea of getting a backup file just in case
> something is wrong.
> 
> It is possible to append a character to the front of the file name e.g
> _S99sshd.cfsaved
> 
> The only problem I could see is that it would effect all file's , not
> just rc start-up files. However I could live with this.
> 
> Any thoughts on this.
> 
> Thanks
> 
> Matt
> 
> 
> Matthew Garrett
> Unix System Support
> Shell Information Technology International Limited
> Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United
> Kingdom
> 
> 

Use a "repository".

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]