[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbitlaunch.cfg question
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbitlaunch.cfg question
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Thu, 27 Jul 2006 12:37:19 +0200
- Cc: Kolbjørn Barmen <kolbjorn.barmen (at) uninett.no>
- Organization: Telkom Internet
- References: <Pine.LNX.4.64.0607251255590.25702@firda.kolla.no>
- User-agent: KMail/1.9.1
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)