From 2dac6ddb70d8bc19342918e9d23a88214bca76c2 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Sat, 25 Apr 2015 18:10:23 -0300 Subject: [PATCH] fix(store): change template to return ip address instead of :6789 --- store/base/templates/ceph.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/base/templates/ceph.conf b/store/base/templates/ceph.conf index 2a8dbff6bd..0bcc3d783a 100644 --- a/store/base/templates/ceph.conf +++ b/store/base/templates/ceph.conf @@ -2,7 +2,7 @@ fsid = {{ getv "/deis/store/fsid" }} mon initial members = {{ getv "/deis/store/monSetupLock" }} mon host = {{ join (getvs "/deis/store/hosts/*") "," }} -mon addr = {{ join (ls "/deis/store/hosts/*") ":6789 ," }}:6789 +mon addr = {{ range $index, $element := (gets "/deis/store/hosts/*") }}{{if $index}},{{end}}{{ base $element.Key }}:6789{{ end }} auth cluster required = cephx auth service required = cephx auth client required = cephx