On Tuesday 30 May 2006 11:38, Henrik Stoerner wrote:
On Mon, Jan 23, 2006 at 06:10:23PM +0200, Buchan Milne wrote:
Since we're looking to package some of our (server and client) extension
scripts for hobbits in RPMs (to work nicely with the rest of our server
deployment setup for Linux boxen), it would be really convenient if we
could dump the entry for hobbitlaunch.cfg/clientlaunch.cfg and
hobbitgraph.cfg in separate files, and use include directives (with
support for globs) in the relevant config files. ie, supporting something
like:
include /etc/hobbit/hobbitlaunch.d/*.cfg
This is in 4.2. In your main hobbitlaunch.cfg, put a line with
directory /etc/hobbit/hobbitlaunch.d/
and it will include all files in this directory as if they were part of
the main file.
Argh, I missed this mail.
Using globbing would prevent tricky problems with backup files, temporary
files. For example, one of our developers did an include for the contents of
a directory in a web application. While trying to troubleshoot, another
member of our team had the file open in vim, and had very weird results do to
the application trying to interpret the swap file ...
For people packaging extensions (specifically RPMs, maybe other packaging
systems), .rpmsave/.rpmnew files may also produce weird effects.
But, even if it stays as is it will help, thanks!
Regards,
Buchan
--
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)