2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
8 # Centos-7 and Ubuntu-18.04's postgres packages are too old, so we need to force using upstream's
9 # This is not required in Debian's family as they already ship with PG +11
10 {%- if salt['grains.get']('osfinger') in ['Ubuntu-18.04', 'CentOS Linux-7'] %}
11 use_upstream_repo: true
14 {%- if salt['grains.get']('osfinger') == 'CentOS Linux-7' %}
20 - postgresql12-contrib
25 use_upstream_repo: false
30 listen_addresses = '*' # listen on all interfaces
32 #ssl_cert_file = '/etc/ssl/certs/arvados-snakeoil-cert.pem'
33 #ssl_key_file = '/etc/ssl/private/arvados-snakeoil-cert.key'
35 - ['local', 'all', 'postgres', 'peer']
36 - ['local', 'all', 'all', 'peer']
37 - ['host', 'all', 'all', '127.0.0.1/32', 'md5']
38 - ['host', 'all', 'all', '::1/128', 'md5']
39 - ['host', 'arvados', 'arvados', '127.0.0.1/32']
43 password: changeme_arvados
47 # directory: /path/to/some/tbspace/arvados_tbsp
55 lc_collate: en_US.utf8
56 # tablespace: arvados_tablespace