Page MenuHomeDevCentral

D1211.id3115.diff
No OneTemporary

D1211.id3115.diff

diff --git a/roles/viperserv/eggdrop/files/eggdrop-bot.conf b/roles/viperserv/eggdrop/files/eggdrop-bot.conf
--- a/roles/viperserv/eggdrop/files/eggdrop-bot.conf
+++ b/roles/viperserv/eggdrop/files/eggdrop-bot.conf
@@ -52,7 +52,7 @@
# MySQL
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-load lib/fbsql/fbsql.so
+load lib/fbsql.so
# -------------------------------------------------------------
# Eggdrop modules
diff --git a/roles/viperserv/fbsql/init.sls b/roles/viperserv/fbsql/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/viperserv/fbsql/init.sls
@@ -0,0 +1,39 @@
+# -------------------------------------------------------------
+# Salt — Deploy eggdrop park
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-15
+# License: Trivial work, not eligible to copyright
+# Data license: FANTOIR is licensed under Licence Ouverte
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Build fbsql
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+fbsql_repo:
+ file.directory:
+ - name: /opt/fbsql
+ - user: builder
+ - group: deployment
+ - dir_mode: 755
+ git.latest:
+ - name: https://devcentral.nasqueron.org/source/fbsql.git
+ - target: /opt/fbsql
+ - user: builder
+
+fbsql_build:
+ cmd.run:
+ - name: gmake
+ - runas: builder
+ - creates: /opt/fbsql/fbsql.so
+
+# -------------------------------------------------------------
+# Install fbsql
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/srv/viperserv/lib/fbsql.so:
+ file.symlink:
+ - target: /opt/fbsql/fbsql.so
+ - user: builder
+ - group: deployment
diff --git a/roles/viperserv/init.sls b/roles/viperserv/init.sls
--- a/roles/viperserv/init.sls
+++ b/roles/viperserv/init.sls
@@ -18,5 +18,6 @@
include:
- .account
- .eggdrop
+ - .fbsql
- .fantoir
- .wikidata-access-layer

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 06:37 (19 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259617
Default Alt Text
D1211.id3115.diff (2 KB)

Event Timeline