Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F7637008
D1098.diff
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
D1098.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1098: Enable pf where jails are used
Attached
Detach File
Event Timeline
Log In to Comment