On Tuesday 25 July 2006 13:05, Kolbjørn Barmen wrote:
My idea is that I can leave the "original" hobbitlaunch.cfg untouched except for a "directory hobbitlaunch.d" at the end, and then override keys with files in that directory.
If some kind of include-like functionality were to be implemented (and I would vote for it to be in at least hobbitlaunch.cfg and hobbitgraph.cfg), it would be better to use an include statement with globs (eg "include /etc/hobbit/hobbitlaunch.d/*.cfg) rather than a directory statement. The reason for this is to ensure that you don't unexpectedly hit a backup/swap/temporary file (or, say .rpmsave/.rpmnew).
I would like to have an easier upgrade on my hobbit server with custom graph definitions, and the tasks to run that generate the data for these. Implementing something like this would make it easier for people to distribute extensions that need this (and package them etc.).
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)