A typo in lib/ceph was causing REMOTE_CEPH to be defaulted whenever
lib/ceph was sourced, regardless of its existing value. The
`trueorfalse` function takes a variable name as its second argument,
not a value.
Change-Id: Iec846e0b892eaa63a0a2a59aa045bc56d5606af1
| ... | ... |
@@ -71,7 +71,7 @@ CEPH_REPLICAS=${CEPH_REPLICAS:-1}
|
| 71 | 71 |
CEPH_REPLICAS_SEQ=$(seq ${CEPH_REPLICAS})
|
| 72 | 72 |
|
| 73 | 73 |
# Connect to an existing Ceph cluster |
| 74 |
-REMOTE_CEPH=$(trueorfalse False $REMOTE_CEPH) |
|
| 74 |
+REMOTE_CEPH=$(trueorfalse False REMOTE_CEPH) |
|
| 75 | 75 |
REMOTE_CEPH_ADMIN_KEY_PATH=${REMOTE_CEPH_ADMIN_KEY_PATH:-$CEPH_CONF_DIR/ceph.client.admin.keyring}
|
| 76 | 76 |
|
| 77 | 77 |
|