On Wed, Dec 17, 2008 at 4:17 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-835fbea2f756@xymon.invalid> "Don
Lachlan" <user-32e83f32b5ed@xymon.invalid> 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.