Page MenuHomeDevCentral

D1463.diff
No OneTemporary

D1463.diff

diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -121,6 +121,9 @@
- .org/nasqueron/docs
- .org/nasqueron/labs
+ # Wolfplex Hackerspace
+ - .org/wolfplex/www
+
# -------------------------------------------------------------
# Tweaks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/roles/webserver-content/init.sls b/roles/webserver-content/init.sls
--- a/roles/webserver-content/init.sls
+++ b/roles/webserver-content/init.sls
@@ -14,3 +14,4 @@
- .org/nasqueron/docs
- .org/nasqueron/labs
- .org/nasqueron/social
+ - .org/wolfplex/www
diff --git a/roles/webserver-content/org/wolfplex/www.sls b/roles/webserver-content/org/wolfplex/www.sls
new file mode 100644
--- /dev/null
+++ b/roles/webserver-content/org/wolfplex/www.sls
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+# Salt — Provision www.wolfplex.org static subdirectories
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-03-22
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% if salt['node.has_web_content'](".org/wolfplex/www") %}
+
+/var/wwwroot/wolfplex.org/www/2013:
+ file.recurse:
+ - source: salt://software/wolfplex/web-campaigns-2013
+ - exclude_pat: E@.git
+ - include_empty: True
+ - clean: True
+ - dir_mode: 755
+ - file_mode: 644
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 00:46 (22 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251201
Default Alt Text
D1463.diff (1 KB)

Event Timeline