Hostlist.csv: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Type: file | Type: file | ||
Location: <code>[[/ | Location: <code>[[/root/oldnewworld_cfe]]/hostlist.csv</code> on the [[cfengine hub]]. | ||
<code>hostlist.csv</code> is a CSV-formatted (comma-separated variable) file containing a list of all hosts known to [[cfengine]]. | <code>hostlist.csv</code> is a CSV-formatted (comma-separated variable) file containing a list of all hosts known to [[cfengine]]. | ||
Line 34: | Line 34: | ||
|} | |} | ||
When this file is changed the [[update_hosts]] script should be executed to run the [[host generator]] scripts which create the various configuration files | When this file is changed the [[update_hosts]] script should be executed to run the [[host generator]] scripts which create the various configuration files there from which are then installed by [[cfengine]]. E.g., <code>/etc/hosts</code>, <code>/etc/[[hostname]]</code> and the [[automounter]] configuration files. |
Latest revision as of 13:43, 2 April 2024
Type: file
Location: /root/oldnewworld_cfe/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 there from which are then installed by cfengine. E.g., /etc/hosts
, /etc/hostname
and the automounter configuration files.