Merge pull request 'dnsmasq owns its resolver format: node-zones is a template (ADR 0120)' (#111) from feat/roster-facts-are-templates into main
This commit was merged in pull request #111.
This commit is contained in:
@@ -70,6 +70,9 @@
|
||||
}
|
||||
],
|
||||
"facts": {
|
||||
"node-zones": "/etc/mesh-resolver/nodes.conf"
|
||||
"node-zones": {
|
||||
"path": "/etc/mesh-resolver/nodes.conf",
|
||||
"template": "# Generated by the mesh. Do not edit — this file is replaced whenever a machine\n# joins or leaves, and an edit would survive until then and vanish.\n\nlocal=/{{.Suffix}}/\n{{range .Machines}}address=/{{.FQDN}}/{{.Address}}\n{{end}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user