File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 187
187
(c/su (c/exec :dpkg :--purge :--force-all :tarantool ))
188
188
(c/su (c/exec :dpkg :--configure :-a )))
189
189
190
- (defn boolean-to-str
191
- [b]
192
- (if (true ? b) " true" " false" ))
193
-
194
190
(defn is-single-mode?
195
191
[test]
196
192
(let [n (count (:nodes test))]
226
222
(str/replace #"%TARANTOOL_QUORUM%" (str (calculate-quorum test)))
227
223
(str/replace #"%TARANTOOL_IP_ADDRESS%" node)
228
224
(str/replace #"%TARANTOOL_REPLICATION%" (replica-set test))
229
- (str/replace #"%TARANTOOL_MVCC%" (boolean-to- str (:mvcc test)))
230
- (str/replace #"%TARANTOOL_SINGLE_MODE%" (boolean-to- str (is-single-mode? test)))
225
+ (str/replace #"%TARANTOOL_MVCC%" (str (:mvcc test)))
226
+ (str/replace #"%TARANTOOL_SINGLE_MODE%" (str (is-single-mode? test)))
231
227
(str/replace #"%TARANTOOL_DATA_ENGINE%" (:engine test)))
232
228
:> " /etc/tarantool/instances.enabled/jepsen.lua" )
233
229
(c/exec :cp " /etc/tarantool/instances.enabled/jepsen.lua" " /etc/tarantool/instances.available" ))
You can’t perform that action at this time.
0 commit comments