Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8321725
firewall.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
967 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'
]()
}}
firewalld_trust_docker_bridge
:
firewalld.present
:
-
name
:
trusted
-
interfaces
:
-
docker0
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 13, 16:50 (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2565420
Default Alt Text
firewall.sls (967 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment