Page MenuHomeDevCentral

D1250.diff
No OneTemporary

D1250.diff

diff --git a/roles/webserver-legacy/directories.sls b/roles/webserver-legacy/directories.sls
--- a/roles/webserver-legacy/directories.sls
+++ b/roles/webserver-legacy/directories.sls
@@ -12,6 +12,11 @@
- group: web
- dir_mode: 711
+/var/log/www:
+ file.directory:
+ - group: web
+ - dir_mode: 711
+
{% for domains_group in pillar['web_domains'] %}
{% for domain in pillar['web_domains'][domains_group] %}
webserver_directory_{{ domain }}:
@@ -20,6 +25,12 @@
- user: {{ domain }}
- group: web
- dir_mode: 711
+
+/var/log/www/{{ domain }}:
+ file.directory:
+ - user: {{ domain }}
+ - group: web
+ - dir_mode: 711
{% endfor %}
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 22:23 (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251360
Default Alt Text
D1250.diff (694 B)

Event Timeline