Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4020303
D861.id2189.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D861.id2189.diff
View Options
diff --git a/roles/shellserver/odderon/code.sls b/roles/shellserver/odderon/code.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/odderon/code.sls
@@ -0,0 +1,28 @@
+# -------------------------------------------------------------
+# Salt — Deploy Odderon (darkbot)
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-01-25
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+darkbot_repo:
+ file.directory:
+ - name: /opt/darkbot
+ - user: odderon
+ - group: nasqueron-irc
+ - dir_mode: 755
+ git.latest:
+ - name: https://devcentral.nasqueron.org/source/darkbot.git
+ - branch: production
+ - target: /opt/darkbot
+ - user: odderon
+ - unless: test -f /opt/odderon/LOCKED
+
+darkbot_build:
+ cmd.run:
+ - name: sh build.sh
+ - cwd: /opt/darkbot
+ - runas: odderon
+ - require:
+ - git: darkbot_repo
diff --git a/roles/shellserver/odderon/init.sls b/roles/shellserver/odderon/init.sls
--- a/roles/shellserver/odderon/init.sls
+++ b/roles/shellserver/odderon/init.sls
@@ -8,3 +8,4 @@
include:
- .account
+ - .code
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 03:33 (18 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2361516
Default Alt Text
D861.id2189.diff (1 KB)
Attached To
Mode
D861: Clone and compile darkbot on Eglide
Attached
Detach File
Event Timeline
Log In to Comment