Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3744549
D2409.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
D2409.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2409: Install PostgreSQL on devserver
Attached
Detach File
Event Timeline
Log In to Comment