Page MenuHomeDevCentral

D1307.id3353.diff
No OneTemporary

D1307.id3353.diff

diff --git a/roles/webserver-content/org/nasqueron/api.sls b/roles/webserver-content/org/nasqueron/api.sls
--- a/roles/webserver-content/org/nasqueron/api.sls
+++ b/roles/webserver-content/org/nasqueron/api.sls
@@ -22,4 +22,28 @@
- user: deploy
- group: web
+# -------------------------------------------------------------
+# API micro services are deployed to /srv/api
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/srv/api:
+ file.directory:
+ - user: deploy
+ - group: web
+ - dir_mode: 755
+
+# -------------------------------------------------------------
+# /servers-log micro service
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/srv/api/servers-log:
+ file.recurse:
+ - source: salt://software/api/serverslog
+ - exclude_pat: E@.git
+ - include_empty: True
+ - clean: False
+ - dir_mode: 755
+ - file_mode: 644
+ - user: deploy
+ - group: web
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 05:02 (6 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259560
Default Alt Text
D1307.id3353.diff (969 B)

Event Timeline