Next Previous Contents

5. The sysf.hosts File

Sysf allows for the definition of host groups so that a set of hosts can share the same config file. The group name is then used as the suffix for the config file. The host groups are defined in the sysf.hosts file. Each entry must obey the following syntax:

HOST_GROUP_1 = NAME_1 NAME_2 ... NAME_N;
where HOST_GROUP_1 is the name of the group and NAME_1 ... NAME_N are the hosts belonging to that group. Groups can refer to other groups, but the group referred to must be defined before it is used for the first time. Forward reference to other groups is not allowed. There is no limit on the number of references to other groups; each time a group name is used, the list of hosts belonging to that group is inserted in the list. The list of names can be spread over several lines, but each entry must be terminated by a semi-colon.

The group ALL must be defined in the file and should contain all the hosts.

Example:

RedHat6.0 = kernighan ritchie knuth;
RedHat6.2 = tirring trovald cox ;
Server = tirring;
ALL = RedHat6.0 RedHat6.2;


Next Previous Contents