sidai/host/laptop.xml
Will Partain <[email protected]> Tue, 12 Jun 2001 09:46:13 +0100
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <[email protected]> |
(Hey, see if RPM can do *this*... :-) I checked in a proto-host 'sidai:laptop' yesterday; it has no methods; the idea is simply that laptop-hosts would have it as a prototype. Here's a use for it. sidai/package/ALL.xml says that, by default, a package should be deployed by *symlinking* to the master copy. (Easily changed on a per-site or per-package basis.) But, for a laptop, you'd really rather have a *copy* of any packages deployed onto it. Here's the sum-total code to implement both: <deployment-spec> <constraint><host-spec>sidai:laptop</host-spec></constraint> <table><entry name="*"> @TYPE@=copy </entry></table> </deployment-spec> <deployment-spec><table><entry name="*"> @TYPE@=symlink </entry></table></deployment-spec> *I* like it :-) Will