Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Provide FQDN of self as URI, so the certificate validates.

Alex Vandiverdd90083ed7f3
diff --git a/puppet/zulip_ops/templates/teleport_db.yaml.template.erb b/puppet/zulip_ops/templates/teleport_db.yaml.template.erb
index c1b9174fd67..fd9274b50df 100644
--- a/puppet/zulip_ops/templates/teleport_db.yaml.template.erb
+++ b/puppet/zulip_ops/templates/teleport_db.yaml.template.erb
@@ -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 %>"