Page MenuHomeDevCentral

D2409.diff
No OneTemporary

D2409.diff

diff --git a/roles/dbserver-pgsql/init.sls b/roles/dbserver-pgsql/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/dbserver-pgsql/init.sls
@@ -0,0 +1,9 @@
+# -------------------------------------------------------------
+# Salt — Database server — PostgreSQL
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - .server
diff --git a/roles/dbserver-pgsql/server/init.sls b/roles/dbserver-pgsql/server/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/dbserver-pgsql/server/init.sls
@@ -0,0 +1,9 @@
+# -------------------------------------------------------------
+# Salt — Database server — PostgreSQL
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+include:
+ - .software
diff --git a/roles/dbserver-pgsql/server/software.sls b/roles/dbserver-pgsql/server/software.sls
new file mode 100644
--- /dev/null
+++ b/roles/dbserver-pgsql/server/software.sls
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Salt — Database server — PostgreSQL
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import packages with context %}
+
+# -------------------------------------------------------------
+# PostgreSQL server
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+postgresql_server_software:
+ pkg.installed:
+ - pkgs:
+ - {{ packages.postgresql }}
diff --git a/top.sls b/top.sls
--- a/top.sls
+++ b/top.sls
@@ -23,6 +23,7 @@
'windriver':
- roles/builder
- roles/dbserver-mysql
+ - roles/dbserver-pgsql
- roles/devserver
- roles/webserver-core
- roles/webserver-legacy

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 06:49 (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247204
Default Alt Text
D2409.diff (2 KB)

Event Timeline