Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11690878
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/paas-docker/docker/firewall.sls b/roles/paas-docker/docker/firewall.sls
index e740335..d0bc464 100644
--- a/roles/paas-docker/docker/firewall.sls
+++ b/roles/paas-docker/docker/firewall.sls
@@ -1,30 +1,24 @@
# -------------------------------------------------------------
# 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/x-diff
Expires
Fri, Sep 12, 19:30 (12 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2978248
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment