Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752983
D1250.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
694 B
Referenced Files
None
Subscribers
None
D1250.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1250: Create nginx log directories
Attached
Detach File
Event Timeline
Log In to Comment