[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] include directives in hobbitlaunch.cfg, hobbitgraph.cfg



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.


Regards,
Henrik