Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3746455
D678.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
D678.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D678: Deploy www.eglide.org
Attached
Detach File
Event Timeline
Log In to Comment