From b983580f2e5f7dd39d39e26d75bff82ccf2e4138 Mon Sep 17 00:00:00 2001 From: "Wayne E. Seguin" Date: Tue, 16 Aug 2022 21:02:45 -0400 Subject: [PATCH] Bugfix: +internal-postgres, spell out username and password. --- hooks/blueprint | 2 +- manifests/scheduler.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/blueprint b/hooks/blueprint index dac9558..53f3d86 100755 --- a/hooks/blueprint +++ b/hooks/blueprint @@ -14,7 +14,7 @@ fi for want in $GENESIS_REQUESTED_FEATURES; do case "$want" in - (external-postgres|internal-postgres) # Covered above + (external-postgres|+internal-postgres) # Covered above true ;; (cf-route-registrar) diff --git a/manifests/scheduler.yml b/manifests/scheduler.yml index e0e961f..e97bef3 100644 --- a/manifests/scheduler.yml +++ b/manifests/scheduler.yml @@ -61,7 +61,7 @@ instance_groups: cf: api: (( concat "https://api." params.cf.system_domain )) postgres: - uri: (( concat "postgres://" meta.pg.user ":" meta.pg.pass "@" meta.pg.hostname ":" meta.pg.port "/" meta.pg.database "?sslmode=" meta.pg.sslmode )) + uri: (( concat "postgres://" meta.pg.username ":" meta.pg.password "@" meta.pg.hostname ":" meta.pg.port "/" meta.pg.database "?sslmode=" meta.pg.sslmode )) - name: postgres properties: