Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767921
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/hotfixes/init.sls b/hotfixes/init.sls
index a3ca6f2..453b817 100644
--- a/hotfixes/init.sls
+++ b/hotfixes/init.sls
@@ -1,11 +1,12 @@
# -------------------------------------------------------------
# Salt — Hotfixes to mitigate bugs and security issues
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-02-27
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
- .CVE-2017-6074
- .T1261-srv-data
+ - .old-directories
diff --git a/hotfixes/old-directories.sls b/hotfixes/old-directories.sls
new file mode 100644
index 0000000..3e46d1f
--- /dev/null
+++ b/hotfixes/old-directories.sls
@@ -0,0 +1,23 @@
+# -------------------------------------------------------------
+# Salt — Hotfixes to mitigate bugs and security issues
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-23
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# T1325
+# We now provision /var/wwwwroot/<domain></<subdomain> for
+# all servers and not only for the web servers.
+#
+# As such, /var/www/html nginx default directory on shellserver
+# role can be pruned.
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% if salt['node.has_role']('shellserver') %}
+
+/var/www/html:
+ file.absent
+
+{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 04:15 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2255708
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment