aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-10-29 14:19:39 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-11-01 11:42:58 -0700
commit8d400b8ca49da223f55c13a11e4f1de76a80ee24 (patch)
treef3f15108ae7a0c7b0579524374286e2bfb2f29f7
parent5dfa44689b8cf469bd0311378718eb2d52d54996 (diff)
downloadconsfigurator-8d400b8ca49da223f55c13a11e4f1de76a80ee24.tar.gz
FIREWALLD:ZONE: note idea to use hostattrs to gather zone settings
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/property/firewalld.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/property/firewalld.lisp b/src/property/firewalld.lisp
index 7b1ec10..e71473d 100644
--- a/src/property/firewalld.lisp
+++ b/src/property/firewalld.lisp
@@ -137,6 +137,8 @@ set up appropriately accessible and inaccessible.
(By contrast, for defining services and policies we take the simpler approach
of just setting the whole XML configuration, using FIREWALLD:SERVICE and
FIREWALLD:POLICY.)"
+ ;; Another option might be to push all the settings to hostattrs and then at
+ ;; :APPLY time, generate the whole .xml / run commands to set all the XML.
(:desc #?"firewalld has zone configuration for ${zone}")
(%setxml "zones" zone xml))