updated postgresql state

This commit is contained in:
Paul 2022-07-16 00:48:32 +02:00
parent b94e325c65
commit da6643a1f7
3 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,13 @@
--- ---
postgresql: postgresql:
packages:
- pgpool2
- postgresql-13
- postgresql-13-cron
- postgresql-13-pgpool2
- postgresql-13-repmgr
- postgresql-client-13
- repmgr
databases: databases:
- name: postgres - name: postgres
user: postgres user: postgres

View File

@ -1,9 +1,8 @@
--- ---
{%- from "postgresql/map.jinja" import postgresql with context %}
postgresql-install: postgresql-install:
pkg.latest: pkg.latest:
- pkgs: - pkgs:
- postgresql {%- for pkg in postgresql.packages %}
- postgresql-client - {{ pkg }}
- postgresql-13-cron {%- endfor %}
- postgresql-13-repmgr
- repmgr

View File

@ -1,5 +1,5 @@
--- ---
postgresql-service: postgresql-service:
service.running: service.running:
- name: postgresql - name: postgresql@13-main
- enable: true - enable: true