Page MenuHomeDevCentral

D1254.id3227.diff
No OneTemporary

D1254.id3227.diff

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

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)

Event Timeline