Hostlist.csv: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
!Field number | !Field number | ||
!Contents | !Contents | ||
!Examples | !Examples (comma-separated) | ||
!Description | !Description | ||
|- | |- |
Revision as of 13:25, 14 Haziran 2022
Type: file
Location: /usr/local/administration/hosts/hostlist.csv
on the cfengine hub.
hostlist.csv is a CSV-formatted (comma-separated variable) file containing a list of all hosts known to cfengine.
Each line of the file contains the following fields:
Field number | Contents | Examples (comma-separated) | Description |
---|---|---|---|
1 | Host name | nw-k17-login1, nw-syd-cfengine-hub, williams | The network name of the host minus any domain components. |
2 | IPv4 address | 10.197.85.13, 129.94.242.33 | The IPv4 address of the host. |
3 | Host classes | trusted+physicallabhost, trusted+arm+mondisk+moneth0+vlabserver | A '+'-separated list of host classes of which this host is a member. |
4 | Exported file systems | 1+2 | A '+'-separated list of file system identifiers which are exported by this server. This field is empty if the host is not a file server. |
When this file is changed the update_hosts script should be executed to run the host generator scripts which create the various configuration files therefrom which are then installed by cfengine. E.g., hostname and the automounter configuration files.