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
29 # If you want to enable communications' encryption to the DB server,
30 # uncomment these entries
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', '__CLUSTER___arvados', '__CLUSTER___arvados', '127.0.0.0/8']
43 password: "__DATABASE_PASSWORD__"
47 # directory: /path/to/some/tbspace/arvados_tbsp
52 owner: __CLUSTER___arvados
55 lc_collate: en_US.utf8
56 # tablespace: arvados_tablespace
59 owner: __CLUSTER___arvados