paulbsd-salt/states/postgresql/install.sls
Paul Lecuq d577a9b420
All checks were successful
continuous-integration/drone/push Build is passing
updated postgresql state
2023-11-10 13:25:50 +01:00

19 lines
481 B
Plaintext

---
{%- from "postgresql/map.jinja" import postgresql with context %}
postgresql-install-base:
pkg.installed:
- pkgs:
- postgresql-{{ postgresql.version }}
- postgresql-client-{{ postgresql.version }}
postgresql-install-extensions:
pkg.installed:
- pkgs:
{%- for extension in postgresql.extensions %}
- postgresql-{{ postgresql.version }}-{{ extension }}
{%- endfor %}
postgresql-install-misc:
pkg.installed:
- pkgs: {{ postgresql.packages }}