Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12076514
D1307.id3353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
969 B
Referenced Files
None
Subscribers
None
D1307.id3353.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Oct 3, 17:48 (11 h, 24 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5a/8c/625637ac28f48ab1ac1a764491d6
Default Alt Text
D1307.id3353.diff (969 B)
Attached To
Mode
D1307: Deploy api-serverslog microservice to /srv/api/servers-log
Attached
Detach File
Event Timeline
Log In to Comment