engine: resources: Add firewalld resource
This is a simple firewalld resource to make the seamless opening of firewall ports in standalone laptop (and other) environments easy.
This commit is contained in:
9
examples/lang/firewalld0.mcl
Normal file
9
examples/lang/firewalld0.mcl
Normal file
@@ -0,0 +1,9 @@
|
||||
firewalld "misc" { # name is irrelevant
|
||||
services => [
|
||||
"dhcp",
|
||||
"tftp",
|
||||
],
|
||||
ports => ["4280/tcp",],
|
||||
|
||||
state => $const.res.firewalld.state.absent,
|
||||
}
|
||||
Reference in New Issue
Block a user