paulbsd-salt/states/postgresql/install.sls

20 lines
536 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
2022-07-16 00:48:32 +02:00
{%- from "postgresql/map.jinja" import postgresql with context %}
2023-11-10 13:25:50 +01:00
postgresql-install-base:
2022-12-24 17:48:15 +01:00
pkg.installed:
2020-08-30 16:51:41 +02:00
- pkgs:
2023-11-10 13:25:50 +01:00
- postgresql-{{ postgresql.version }}
- postgresql-client-{{ postgresql.version }}
2023-11-24 19:32:44 +01:00
- postgresql-server-dev-{{ postgresql.version }}
2023-11-10 13:25:50 +01:00
postgresql-install-extensions:
pkg.installed:
- pkgs:
{%- for extension in postgresql.extensions %}
- postgresql-{{ postgresql.version }}-{{ extension }}
2022-07-16 00:48:32 +02:00
{%- endfor %}
2023-11-10 13:25:50 +01:00
postgresql-install-misc:
pkg.installed:
- pkgs: {{ postgresql.packages }}