Page MenuHomeDevCentral

D1254.diff
No OneTemporary

D1254.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, 11:33 (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260095
Default Alt Text
D1254.diff (595 B)

Event Timeline