Skip to content

Instantly share code, notes, and snippets.

@electrical
Last active December 14, 2015 11:48
Show Gist options
  • Save electrical/201d78ac652b641cc772 to your computer and use it in GitHub Desktop.
Save electrical/201d78ac652b641cc772 to your computer and use it in GitHub Desktop.
array of hashes
[
{"discovery"=>{"zen"=>{"minimum_master_nodes"=>3}}},
{"discovery"=>{"zen"=>{"ping"=>{"unicast"=>{"hosts"=>"somehost"}}}}},
{"discovery"=>{"zen"=>{"ping"=>{"multicast"=>{"enabled"=>false}}}}},
{"gateway"=>{"recover_after_nodes"=>3}},
{"gateway"=>{"expected_nodes"=>4}},
{"cluster"=>{"routing"=>{"allocation"=>{"awareness"=>{"attributes"=>"rack"}}}}},
{"cluster"=>{"name"=>"kreplyts"}}, {"boostrap"=>{"mlockall"=>true}},
{"node"=>{"rack"=>46}}, {"node"=>{"name"=>"nodename"}},
{"network"=>{"host"=>"ipadress"}}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment