A module that claims a seat is core, one that claims none a leaf (141 manifests; the build modules and the registry are the other developer's). The forge module's, the gate's and the sweep's states each name 8 MiB, and their findings stream 8 MiB for 7 days. Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
68 lines
1.2 KiB
JSON
68 lines
1.2 KiB
JSON
{
|
|
"module": "ca-trust",
|
|
"version": "0.1",
|
|
"class": "core",
|
|
"slug": "catrust",
|
|
"capabilities": [
|
|
"service-manager"
|
|
],
|
|
"requires": [
|
|
"internal-acme-ca"
|
|
],
|
|
"seats": [
|
|
{
|
|
"name": "the-mesh-trust-anchor",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "the-mesh-trust-anchor",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "anchor",
|
|
"type": "file",
|
|
"path": "${dir:state}/anchor",
|
|
"mode": "0755",
|
|
"template": "files/anchor"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/mesh-ca-trust.service",
|
|
"mode": "0644",
|
|
"template": "files/mesh-ca-trust.service"
|
|
},
|
|
{
|
|
"id": "trust",
|
|
"type": "service",
|
|
"unit": "mesh-ca-trust.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"anchor",
|
|
"unit"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|