gvasalt/states/postgresql-server/custom.conf
Jan Dittberner 2833b78c8a Implement salt states for gva webinterface
- setup listener and pg_hba.conf for PostgreSQL server
- add state code for gva
- add macros for nginx and uwsgi with Python 3 support
- add pillar data for gva
2020-03-07 18:26:52 +01:00

11 lines
713 B
Text

listen_addresses = '{{ salt['grains.get']('ipv4') | join(",") }}'
shared_buffers = {{ salt['pillar.get']('postgresql-server:shared_buffers', '1GB') }}
work_mem = {{ salt['pillar.get']('postgresql-server:work_mem', '10MB') }}
maintenance_work_mem = {{ salt['pillar.get']('postgresql-server:maintenance_work_mem', '32MB') }}
effective_cache_size = {{ salt['pillar.get']('postgresql-server:effective_cache_size', '2GB') }}
lc_messages = 'de_DE.UTF-8' # locale for system error message
lc_monetary = 'de_DE.UTF-8' # locale for monetary formatting
lc_numeric = 'de_DE.UTF-8' # locale for number formatting
lc_time = 'de_DE.UTF-8' # locale for time formatting
default_text_search_config = 'pg_catalog.german'