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:
packages:
- pgpool2
- postgresql-13
- postgresql-13-cron
- postgresql-13-pgpool2
- postgresql-13-repmgr
- postgresql-client-13
- repmgr
databases:
- name: postgres
user: postgres

View File

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

View File

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