)]}'
{"ceph-client/templates/bin/mds/_start.sh.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"8ee13c1fc3d2723f10555b115b6b60618db06b0f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  echo \"ERROR- ${CEPH_CONF}.template must exist; get it from your existing mon\""},{"line_number":19,"context_line":"  exit 1"},{"line_number":20,"context_line":"else"},{"line_number":21,"context_line":"  ENDPOINT\u003d$(kubectl get endpoints ceph-mon -n ${NAMESPACE} -o json | awk -F\u0027\"\u0027 -v port\u003d${MON_PORT} \u0027/\"ip\"/{print $4\":\"port}\u0027 | paste -sd\u0027,\u0027)"},{"line_number":22,"context_line":"  if [[ ${ENDPOINT} \u003d\u003d \"\" ]]; then"},{"line_number":23,"context_line":"    /bin/sh -c -e \"cat ${CEPH_CONF}.template | tee ${CEPH_CONF}\" || true"},{"line_number":24,"context_line":"  else"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7faddb67_33afe82a","line":21,"range":{"start_line":21,"start_character":13,"end_line":21,"end_character":67},"updated":"2019-07-19 13:26:22.000000000","message":"in a follow on ps - lets update this to use either go-template or jsonpath rather than this pipery.","commit_id":"0b58aea135716f6c465d8f880ea3730296465d8d"}]}
