Page MenuHomeDevCentral

D924.id2345.diff
No OneTemporary

D924.id2345.diff

diff --git a/roles/shellserver/userland-software/irc.sls b/roles/shellserver/userland-software/irc.sls
--- a/roles/shellserver/userland-software/irc.sls
+++ b/roles/shellserver/userland-software/irc.sls
@@ -6,6 +6,9 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+include:
+ - .wraith
+
# -------------------------------------------------------------
# IRC clients
# -------------------------------------------------------------
diff --git a/roles/shellserver/userland-software/wraith.sls b/roles/shellserver/userland-software/wraith.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/userland-software/wraith.sls
@@ -0,0 +1,33 @@
+# -------------------------------------------------------------
+# Salt — Deploy Wraith
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2017-02-23
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Source code
+# -------------------------------------------------------------
+
+wraith_repo:
+ file.directory:
+ - name: /opt/wraith
+ - user: builder
+ - group: deployment
+ - dir_mode: 755
+ git.latest:
+ - name: https://github.com/wraith/wraith.git
+ - target: /opt/wraith
+ - user: builder
+ - unless: test -f /opt/wraith/LOCKED
+
+wraith_build:
+ cmd.run:
+ - name: |
+ ./configure
+ make
+ - cwd: /opt/wraith
+ - runas: builder
+ - require:
+ - git: wraith_repo

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 08:22 (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307851
Default Alt Text
D924.id2345.diff (1 KB)

Event Timeline