Page MenuHomeDevCentral

D1526.id3896.diff
No OneTemporary

D1526.id3896.diff

diff --git a/map.jinja b/map.jinja
--- a/map.jinja
+++ b/map.jinja
@@ -100,6 +100,7 @@
'pear': 'php-pear',
'phpcs': 'php-codesniffer',
'phpunit': 'phpunit',
+ 'postgresql': 'postgresql-10',
'sphinx': 'python3-sphinx',
'tcl': 'tcl8.6-dev',
'tcltls': 'tcl-tls',
@@ -163,6 +164,7 @@
'pear': 'pear',
'phpcs': 'pear-PHP_CodeSniffer',
'phpunit': 'phpunit6',
+ 'postgresql': 'postgresql10-server',
'sphinx': 'py36-sphinx',
'tcl': 'tcl86',
'tcltls': 'tcltls',
diff --git a/roles/shellserver/database/init.sls b/roles/shellserver/database/init.sls
--- a/roles/shellserver/database/init.sls
+++ b/roles/shellserver/database/init.sls
@@ -8,3 +8,4 @@
include:
- .mysql
+ - .pgsql
diff --git a/roles/shellserver/database/pgsql.sls b/roles/shellserver/database/pgsql.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/database/pgsql.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Salt — Provision PostgreSQL
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2018-03-28
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import packages with context %}
+
+# -------------------------------------------------------------
+# Software
+# -------------------------------------------------------------
+
+postgresql:
+ pkg.installed:
+ - pkgs:
+ - {{ packages.postgresql }}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 09:27 (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264307
Default Alt Text
D1526.id3896.diff (1 KB)

Event Timeline