Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3912841
D924.id2346.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D924.id2346.diff
View Options
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,49 @@
+# -------------------------------------------------------------
+# Salt — Deploy Wraith
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2017-02-23
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Dependencies
+# -------------------------------------------------------------
+
+wraith_dependencies:
+ pkg:
+ - installed
+ - pkgs:
+ {% if grains['os'] == 'Debian' or grains['os'] == 'Ubuntu' %}
+ - libssl-dev
+ {% endif %}
+
+# -------------------------------------------------------------
+# 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
+
+# -------------------------------------------------------------
+# Build
+# -------------------------------------------------------------
+
+wraith_build:
+ cmd.run:
+ - name: |
+ ./configure
+ make
+ - cwd: /opt/wraith
+ - runas: builder
+ - require:
+ - git: wraith_repo
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 07:08 (19 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307755
Default Alt Text
D924.id2346.diff (2 KB)
Attached To
Mode
D924: Deploy Wraith on Eglide
Attached
Detach File
Event Timeline
Log In to Comment