[Server-devel] xs-activation-import deleting leases
Daniel Drake
dsd at laptop.org
Fri Apr 10 09:31:41 EDT 2009
2009/4/10 Martin Langhoff <martin.langhoff at gmail.com>:
> On Fri, Apr 10, 2009 at 6:15 AM, Daniel Drake <dsd at laptop.org> wrote:
>> No, since after the XS tools delete it, it doesn't know if the data on
>> the remote server is new or not. (it doesn't keep other records other
>> than the synchronized file)
>
> So how can the XS tools know that there is _new_ data to process, as
> opposed to the data they already have seen?
They don't need to... puppet will only run the xs tools once puppet
realises that data has changed.
Thinking more, can achieve this by making puppet launch a small script
in that scenario, which copies the lease file somewhere else and runs
the XS tools on that. then it can be deleted without issue.
Daniel
More information about the Server-devel
mailing list