Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3715337
D1211.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
D1211.diff
View Options
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/eggdrop/software.sls b/roles/viperserv/eggdrop/software.sls
--- a/roles/viperserv/eggdrop/software.sls
+++ b/roles/viperserv/eggdrop/software.sls
@@ -61,6 +61,12 @@
- cmd: eggdrop_software
{% endfor %}
+/srv/viperserv/lib:
+ file.directory:
+ - user: viperserv
+ - group: nasqueron-irc
+ - dir_mode: 770
+
/srv/viperserv/logs:
file.directory:
- user: viperserv
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,40 @@
+# -------------------------------------------------------------
+# 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
+ - cwd: /opt/fbsql
+ - creates: /opt/fbsql/fbsql.so
+
+# -------------------------------------------------------------
+# Install fbsql
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/srv/viperserv/lib/fbsql.so:
+ file.symlink:
+ - target: /opt/fbsql/fbsql.so
+ - user: viperserv
+ - group: nasqueron-irc
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 05:11 (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231207
Default Alt Text
D1211.diff (2 KB)
Attached To
Mode
D1211: Build fbsql.so for ViperServ
Attached
Detach File
Event Timeline
Log In to Comment