help-cfengine
[Top][All Lists]
Advanced

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

Re: Copy-once template directories


From: Marco van Beek
Subject: Re: Copy-once template directories
Date: Mon, 19 Sep 2005 09:28:56 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Brendan Strejcek wrote:
Geoff Davis wrote:


Does anybody have a suggestion for copying a directory once and only
once, and then leaving the contents of that directory alone after
that?

How about adding a group based on the existance/non-existance of one of the files? That way the files will be recopied if they ever get deleted, but not at any other point.

Something like:

copied_already = ( `test -e onetimefile` )

Regards,

Marco




reply via email to

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