Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F25451482
firewall.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
860 B
Referenced Files
None
Subscribers
None
firewall.sls
View Options
# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-05-24
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
,
services
with context
%}
# -------------------------------------------------------------
# Firewalld
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
if
services
[
'firewall'
]
==
'firewalld'
%}
{{
dirs.etc
}}
/firewalld/zones/public.xml
:
file.managed
:
-
source
:
salt://roles/paas-docker/docker/files/firewalld-zones-public.xml.jinja
-
template
:
jinja
-
context
:
subnets
:
{{
salt
[
'paas_docker.get_subnets'
]()
}}
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 05:21 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3622555
Default Alt Text
firewall.sls (860 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment