From 19557d5735238b0fed4dfdc11993e6aeb035a5e8 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 29 May 2014 16:40:13 +0000 Subject: [PATCH] In Soviet Russia, Ruby joins YOU! --- roles/collectd/postgres/templates/collectd-postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/collectd/postgres/templates/collectd-postgres.sh b/roles/collectd/postgres/templates/collectd-postgres.sh index 8890a8b45f..330903faf2 100644 --- a/roles/collectd/postgres/templates/collectd-postgres.sh +++ b/roles/collectd/postgres/templates/collectd-postgres.sh @@ -14,7 +14,7 @@ done while [ $? -eq 0 ] ; do time="$(date +%s)" - for db in {{ databases.join(' ') }} + for db in {{ ' '.join(databases) }} do echo "PUTVAL $host/pg_conns/pg_conns-$db $time:$(ps auxwww | grep -c $db)" done