Feature 57 (config and provisioning): release the catalogue, the reviewed release branch merged with main, on top of main
This commit is contained in:
@@ -112,6 +112,26 @@
|
||||
"messenger_identities",
|
||||
"messenger_unlink"
|
||||
],
|
||||
"config": {
|
||||
"time-zone": {
|
||||
"type": "string",
|
||||
"description": "The time zone every time a message says is said in, an IANA name such as Europe/Brussels; empty is this machine's own zone.",
|
||||
"trusted": true,
|
||||
"default": ""
|
||||
},
|
||||
"desktop-machines": {
|
||||
"type": "list",
|
||||
"description": "The machines whose desktop showed the operator's messages, by node name. Nothing in this module reads it since the desk channel took the desktop over; it is taken so the file stays as a layer that still sets it makes it, until that layer drops it.",
|
||||
"trusted": true,
|
||||
"default": []
|
||||
},
|
||||
"only-what-needs-me": {
|
||||
"type": "list",
|
||||
"description": "The kinds of channel set to say only what needs the operator: a walk that delivered with nothing held and nothing open is not told there (ADR 0308 §4); empty is none.",
|
||||
"trusted": true,
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "account",
|
||||
@@ -132,8 +152,9 @@
|
||||
"type": "file",
|
||||
"path": "${dir:state}/settings.json",
|
||||
"mode": "0600",
|
||||
"takes-config": ["time-zone", "desktop-machines", "only-what-needs-me"],
|
||||
"merge": "json",
|
||||
"content": "{\n \"time-zone\": \"\",\n \"only-what-needs-me\": []\n}\n",
|
||||
"template": "files/settings.json",
|
||||
"owner": "messenger"
|
||||
}
|
||||
],
|
||||
@@ -153,6 +174,11 @@
|
||||
"MESH_MESSENGER_SETTINGS": "${dir:state}/settings.json",
|
||||
"MESH_MESSENGER_STATE": "${dir:state}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user