[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] client-local.cfg
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] client-local.cfg
- From: Dominique Frise <dominique.frise (at) unil.ch>
- Date: Fri, 20 Feb 2009 07:36:49 +0100
- References: <A7BF24E500F9634797CCEAE25BFFD3A806A872AE (at) xmb-sjc-232.amer.cisco.com>
- User-agent: Thunderbird 2.0.0.14 (X11/20080531)
David Masterson (damaster) wrote:
I can't quite figure it out from the documentation. Are the sections in
the client-local.cfg file cumulative? That is, if I have a redhat
server named "servA", do both the "[redhat]" and "[servA]" sections
apply? Or is it just the first section in the cfg file that matches
that applies?
[servA] will apply.
[redhat] will apply for all others redhat hosts without [hostname] section.
Extract of man client-local.cfg(5):
FILE FORMAT
The file is divided into sections, delimited by "[name]"
lines. A section name can be either an operating system
identifier - linux, solaris, hp-ux, aix, freebsd, openbsd,
netbsd, darwin - or a hostname. When deciding which section
to send to a client, Hobbit will first look for a section
named after the hostname of the client; if such a section
does not exist, it will look for a section named by the
operating system of the client. So you can configure special
configurations for individual hosts, and have a default con-
figuration for all other hosts of a certain type.
Apart from the section delimiter, the file format is free-
form, or rather it is defined by the tools that make use of
the configuration.
Dominique