Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)

This commit is contained in:
2026-10-16 07:37:43 +00:00
parent 1a2c917abf
commit 9652b2d5ce
771 changed files with 52063 additions and 1774 deletions
+15 -1
View File
@@ -45,6 +45,14 @@
"tools": [
"desk_channel_status"
],
"config": {
"desktop-machines": {
"type": "list",
"description": "The machines, by node name, whose desktop shows the operator's questions and notifications, in the order they are tried; empty shows them on none.",
"trusted": true,
"default": []
}
},
"resources": [
{
"id": "account",
@@ -66,8 +74,9 @@
"path": "${dir:state}/settings.json",
"mode": "0600",
"owner": "desk-channel",
"takes-config": ["desktop-machines"],
"merge": "json",
"content": "{\n \"desktop-machines\": []\n}\n"
"template": "files/settings.json"
}
],
"build": {
@@ -85,6 +94,11 @@
"env": {
"MESH_DESK_SETTINGS": "${dir:state}/settings.json"
}
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}