As an example, let's say you need all machines to define proxy_account and proxy_password, you would then:
Then let's say you want to define a worker path map, but it will be different based on the OS, you would then:
Now let's say you want hosts01 - host05 to be in a group called "groupA" and a cluster called "/foo"; and host06 - host10 to be in a group called "groupB" and a cluster called "/bar", and then host11-15 need to be in group "groupB" and cluster "/bar" and define a worker_restriction of "/bar/+":
Now let's say that host07 is special and needs to be a member of both groupB and nvidia, but not lose its worker_cluster. Just redefine it afterwards (the file is read top to bottom):
Here's the whole thing together:
To pull it all together, if host12 were a windows machine, it would get the following config: