ADR-013 Phase 0: plugin lifecycle groundwork (validate, apply-profile, dependency fixes)
This commit is contained in:
11
deploy/site-profile.example.json
Normal file
11
deploy/site-profile.example.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"site": "example-site",
|
||||
"plugins": [
|
||||
"machines",
|
||||
"computers",
|
||||
"printers",
|
||||
"network"
|
||||
],
|
||||
"locked": [],
|
||||
"_comment": "Declarative plugin selection for a site (ADR-013). Apply with: flask plugin apply-profile deploy/site-profile.example.json. 'plugins' is the set this site wants; their hard dependencies are pulled in automatically and everything installs + enables in dependency order (idempotent). Naming a plugin not on disk fails loudly. 'locked' is reserved for a future guard against removing a site-mandated plugin. apply-profile never removes plugins absent from the list - removal stays an explicit flask plugin uninstall. Run flask plugin upgrade-all after applying, then restart."
|
||||
}
|
||||
Reference in New Issue
Block a user