Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3919531
D1248.id3205.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D1248.id3205.diff
View Options
diff --git a/pillar/webserver-legacy/sites.sls b/pillar/webserver-legacy/sites.sls
--- a/pillar/webserver-legacy/sites.sls
+++ b/pillar/webserver-legacy/sites.sls
@@ -37,3 +37,10 @@
- docker
- ftp
- trustspace
+
+# -------------------------------------------------------------
+# Tweaks
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+web_autochmod:
+ - /var/wwwroot/dereckson.be/www
diff --git a/roles/webserver-legacy/init.sls b/roles/webserver-legacy/init.sls
--- a/roles/webserver-legacy/init.sls
+++ b/roles/webserver-legacy/init.sls
@@ -12,5 +12,6 @@
- .directories
- .zr
- .static-sites
+ - .tweaks
- .be/dereckson
- .org/nasqueron
diff --git a/roles/webserver-legacy/init.sls b/roles/webserver-legacy/tweaks/autochmod.sls
copy from roles/webserver-legacy/init.sls
copy to roles/webserver-legacy/tweaks/autochmod.sls
--- a/roles/webserver-legacy/init.sls
+++ b/roles/webserver-legacy/tweaks/autochmod.sls
@@ -1,16 +1,15 @@
# -------------------------------------------------------------
# Salt — Sites to provision on the legacy web server
-#
-# Currently, this is deployed to ysul.nasqueron.org
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .account
- - .directories
- - .zr
- - .static-sites
- - .be/dereckson
- - .org/nasqueron
+{% for dir in salt['pillar.get']('web_autochmod', []) %}
+
+autochmod_{{ dir }}:
+ cmd.run:
+ - name: autochmod
+ - cwd: {{ dir }}
+
+{% endfor %}
diff --git a/roles/webserver-legacy/init.sls b/roles/webserver-legacy/tweaks/init.sls
copy from roles/webserver-legacy/init.sls
copy to roles/webserver-legacy/tweaks/init.sls
--- a/roles/webserver-legacy/init.sls
+++ b/roles/webserver-legacy/tweaks/init.sls
@@ -1,16 +1,9 @@
# -------------------------------------------------------------
# Salt — Sites to provision on the legacy web server
-#
-# Currently, this is deployed to ysul.nasqueron.org
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
include:
- - .account
- - .directories
- - .zr
- - .static-sites
- - .be/dereckson
- - .org/nasqueron
+ - .autochmod
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 11:23 (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2309164
Default Alt Text
D1248.id3205.diff (2 KB)
Attached To
Mode
D1248: Run autochmod on web directories needing it
Attached
Detach File
Event Timeline
Log In to Comment