docs(apex): keep public guidance and examples deployment-neutral
This commit is contained in:
1 parent
995ea9bdf9
commit
0881013357
13 files changed
+56
-74
No files matched your search
+3
-4
@@ -1,9 +1,8 @@
|
||||
# engine/lib/tpl.py
|
||||
"""ctx.tpl — stdlib string.Template rendering (envsubst successor, SP2 decision #3).
|
||||
"""ctx.tpl — stdlib string.Template rendering.
|
||||
|
||||
safe_substitute replaces known $VAR/${VAR} and leaves unknown ones literal (deliberate
|
||||
delta: envsubst emptied them — literal survivors surface typos instead of silently
|
||||
blanking). Shell $(...) command-substitution survives untouched.
|
||||
safe_substitute replaces known $VAR/${VAR} and leaves unknown ones literal.
|
||||
Shell $(...) command-substitution survives untouched.
|
||||
Loops/conditionals live in the python action, never in the template file.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
+3
-4
@@ -1,9 +1,8 @@
|
||||
# engine/lib/ufw.py
|
||||
"""ctx.ufw — ufw + ufw-docker rule application with self-healing marker migration.
|
||||
"""Apply ufw and ufw-docker rules.
|
||||
|
||||
Injects the APEX marker block into before/after.rules, deleting BOTH the old ROOT
|
||||
and the new APEX blocks first (so re-running after cutover migrates the marker in
|
||||
place — SP2 §6). Docker rules go through ufw-docker; host rules through plain ufw.
|
||||
Replace existing supported marker blocks before inserting current rules.
|
||||
Docker rules go through ufw-docker; host rules through plain ufw.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
Reference in new issue
Block a user