mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
puppet: Provide FQDN of self as URI, so the certificate validates.
Failure to do this results in: ``` psql: error: failed to connect to `host=localhost user=zulip database=zulip`: failed to write startup message (x509: certificate is valid for [redacted], not localhost) ```
This commit is contained in:
@@ -27,7 +27,7 @@ db_service:
|
||||
databases:
|
||||
- name: "<%= @hostname %>"
|
||||
protocol: "postgres"
|
||||
uri: "localhost:5432"
|
||||
uri: "<%= @fqdn %>:5432"
|
||||
ca_cert_file: /etc/ssl/certs/teleport-ca.crt
|
||||
static_labels:
|
||||
hostname: "<%= @hostname %>"
|
||||
|
||||
Reference in New Issue
Block a user