2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
8 # Centos-7's postgres package is 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']('os_family') == 'RedHat' %}
11 use_upstream_repo: true
20 - postgresql12-contrib
23 use_upstream_repo: false
28 listen_addresses = '*' # listen on all interfaces
30 #ssl_cert_file = '/etc/ssl/certs/arvados-snakeoil-cert.pem'
31 #ssl_key_file = '/etc/ssl/private/arvados-snakeoil-cert.key'
33 - ['local', 'all', 'postgres', 'peer']
34 - ['local', 'all', 'all', 'peer']
35 - ['host', 'all', 'all', '127.0.0.1/32', 'md5']
36 - ['host', 'all', 'all', '::1/128', 'md5']
37 - ['host', '__CLUSTER___arvados', '__CLUSTER___arvados', '127.0.0.1/32']
41 password: "__DATABASE_PASSWORD__"
45 # directory: /path/to/some/tbspace/arvados_tbsp
50 owner: __CLUSTER___arvados
53 lc_collate: en_US.utf8
54 # tablespace: arvados_tablespace
57 owner: __CLUSTER___arvados