Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769297
D1254.id3227.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
595 B
Referenced Files
None
Subscribers
None
D1254.id3227.diff
View Options
diff --git a/roles/shellserver/eglide-website/init.sls b/roles/shellserver/eglide-website/init.sls
--- a/roles/shellserver/eglide-website/init.sls
+++ b/roles/shellserver/eglide-website/init.sls
@@ -14,8 +14,16 @@
{% set wwwuser = "www-data" %}
{% set wwwgroup = "www-data" %}
-/var/www/html:
+/var/{{ wwwroot }}:
+ file.directory:
+ - user: {{ wwwuser }}
+ - group: {{ wwwgroup }}
+ - dir_mode: 711
+ - makedirs: True
+
+wwwroot_server:
file.recurse:
+ - name: /var/{{ wwwroot }}
- source: salt://{{ wwwroot }}
- exclude_pat: E@.git
- include_empty: True
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 14:04 (7 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260095
Default Alt Text
D1254.id3227.diff (595 B)
Attached To
Mode
D1254: Deploy Eglide site to canonical /var/wwwwroot location
Attached
Detach File
Event Timeline
Log In to Comment