mirror of
https://github.com/schoebel/mars
synced 2024-12-19 05:14:45 +00:00
18fd90d538
Signed-off-by: Thomas Schoebel-Theuer <schoebel@bell.site>
15 lines
521 B
Bash
15 lines
521 B
Bash
#!/bin/bash
|
|
|
|
## defaults for module marsview
|
|
|
|
## default maxtime to wait until a given state is entered
|
|
marsview_wait_for_state_time=10
|
|
|
|
## the first line of marsview output contains state information to all
|
|
## relevant objects. The array marsview_object_to_field_list implements
|
|
## the reference from object to field number in the output line
|
|
|
|
declare -g -A marsview_object_to_field_list
|
|
marsview_object_to_field_list=(["resource"]=0 ["disk"]=1 ["repl"]=3 \
|
|
["role"]=4 ["primary_host"]=5)
|