Skip to content

Commit

Permalink
daemon: fix confd ceph template
Browse files Browse the repository at this point in the history
The extra spaces before the mon.xxx section aren't needed and generate
a config file error starting the Octopus release.

global_init: error reading config file. parse error: expected '<eoi>'
in line 12 at position 1

Closes: #1751

Signed-off-by: Dimitri Savineau <[email protected]>
(cherry picked from commit 4138a4f)
  • Loading branch information
dsavineau committed May 14, 2021
1 parent 6ed1acc commit 404951f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/daemon/confd/templates/ceph.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{{range gets "/mon/*"}}
{{base .Key}} = {{.Value}}{{end}}
{{range gets "/mon_host/*"}}
[mon.{{base .Key}}]
host = {{base .Key}}
mon_addr = {{.Value}}{{end}}
[mon.{{base .Key}}]
host = {{base .Key}}
mon_addr = {{.Value}}{{end}}

[osd]
{{range gets "/osd/*"}}
Expand Down

0 comments on commit 404951f

Please sign in to comment.