Page MenuHomeDevCentral

D1098.diff
No OneTemporary

D1098.diff

diff --git a/roles/paas-jails/init.sls b/roles/paas-jails/init.sls
--- a/roles/paas-jails/init.sls
+++ b/roles/paas-jails/init.sls
@@ -8,4 +8,5 @@
# -------------------------------------------------------------
include:
+ - .network
- .jails
diff --git a/roles/paas-jails/network/files/pf.rc b/roles/paas-jails/network/files/pf.rc
new file mode 100644
--- /dev/null
+++ b/roles/paas-jails/network/files/pf.rc
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Jails - rc configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/paas-jails/jails/files/ezjail.rc
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+pf_enable="YES"
diff --git a/roles/paas-jails/init.sls b/roles/paas-jails/network/init.sls
copy from roles/paas-jails/init.sls
copy to roles/paas-jails/network/init.sls
--- a/roles/paas-jails/init.sls
+++ b/roles/paas-jails/network/init.sls
@@ -3,9 +3,15 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Notes: FreeBSD-only role
-# Created: 2017-10-21
+# Created: 2017-10-22
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .jails
+# -------------------------------------------------------------
+# Firewall
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+pf_rc_ezjail:
+ file.managed:
+ - name: /etc/rc.conf.d/pf
+ - source: salt://roles/paas-jails/network/files/pf.rc

File Metadata

Mime Type
text/plain
Expires
Thu, May 1, 04:09 (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2620509
Default Alt Text
D1098.diff (1 KB)

Event Timeline