help-cfengine
[Top][All Lists]
Advanced

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

RE: Editfiles on missing files


From: Baker, Darryl
Subject: RE: Editfiles on missing files
Date: Wed, 29 Sep 2004 15:09:02 -0400

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think it is a great idea. I just wish I had the time to write the
patch.

_____________________________________________________________________
Darryl Baker
gedas USA, Inc.
Operational Services Business Unit
3800 Hamlin Road
Auburn Hills, MI 48326
US
phone   +1-248-754-5341
fax     +1-248-754-6399
Darryl.Baker@gedas.com
http://www.gedasusa.com
_____________________________________________________________________

> -----Original Message-----
> From: help-cfengine-bounces+darryl.baker=gedas.com@gnu.org
> [mailto:help-cfengine-bounces+darryl.baker=gedas.com@gnu.org]On
> Behalf Of Chip Seraphine
> Sent: Wednesday, September 29, 2004 2:17 PM
> To: help-cfengine@gnu.org
> Subject: Editfiles on missing files
> 
> 
> 
> I've got several situations where I am editing a file, but if 
> it doesn't exist 
> I'm okay with that.  To avoid errors, I currently have to do 
> a FileExists() 
> and then use the results of that to control the editfiles 
> block.  This is a 
> little tedious and does an extra stat... it would be Really 
> Great if we could 
> have a "MissingOK" option (kinda like the opposite of 
> AutoCreate) that 
> supresses the error message.
> 
> I tried writing a patch for this but it appears to be more 
> complicated than it 
> looks.  Any ambitious folk out there with better C skills 
> than I think this 
> is a good idea?
> 
> -- 
> 
> Chip Seraphine
> Unix Administrator
> TradeLink, LLC
> 312-264-2048
> chip@trdlnk.com
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBQVsIU1e1Bhkj9lZeEQLNnACgvRUfWg6EAMTPc4F5sxX6ORT9gSsAnRkB
apkaWdG2c7mEoS6WIiycrZGC
=qiiu
-----END PGP SIGNATURE-----
 

Attachment: Baker, Darryl.vcf
Description: Binary data


reply via email to

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