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

Re: [hobbit] centralized management of clientlaunch.cfg



On Wed, Dec 17, 2008 at 4:17 PM, Henrik Størner <henrik (at) hswn.dk> wrote:

> In <d44304420812170806u5e4eab49vc9f1e912ec8b1b8a (at) mail.gmail.com> "Don
> Lachlan" <brightlancer (at) gmail.com> writes:
>
> >I have a number of custom scripts spread across multiple machines; I
> >understand how to configure them in clientlaunch.cfg  but I would like
> >to keep them in a single config file (it's impractical to maintain
> >this many individual configs). Has anyone written a tool to manage
> >push/pull of the configs and generating individual hobbit-clients.cfg,
> >or otherwise duplicate what bb-bbexttab did?
>
> You could grab the "hobbitlaunch" program from the current development
> branch; it has a new "ONHOST <pattern>" setting for each task - the
> task will only run if the local hostname matches the <pattern>. E.g.
>
>   [myscript]
>       CMD $BBHOME/ext/myscript.sh
>       ONHOST (www|mail).foo.com
>
>
> Regards,
> Henrik
>
>
>
Ooh, I will be on that as soon as I can upgrade.
Thanks!
Steve.