Page MenuHomeDevCentral

D678.diff
No OneTemporary

D678.diff

diff --git a/roles/shellserver/eglide-website/init.sls b/roles/shellserver/eglide-website/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/eglide-website/init.sls
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------
+# Salt — Provision www.eglide.org website
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-09-12
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Deploy /opt/staging/wwwroot/eglide.org/www to www.eglide.org
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/var/www/html:
+ file.recurse:
+ - source: salt://wwwroot/eglide.org/www
+ - exclude_pat: E@.git
+ - include_empty: True
+ - clean: True
+ - user: www-data
+ - group: www-data
+ - dir_mode: 711
+ - file_mode: 644
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -14,5 +14,6 @@
- roles/core/motd
- roles/core/rsyslog
'eglide':
+ - roles/shellserver/eglide-website
- roles/shellserver/users
- roles/shellserver/userland-software

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 21:24 (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248091
Default Alt Text
D678.diff (1 KB)

Event Timeline