Skip to content

Commit

Permalink
Ensure gateway.expected_nodes default is 0
Browse files Browse the repository at this point in the history
Make gateway.expected_nodes default to 0, just like it does in the upstream shipped elasticsearch.yml.

Fixes #399.
  • Loading branch information
martinb3 committed Dec 1, 2015
1 parent dafe9b7 commit 7eefdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/resource_configure.rb
Expand Up @@ -98,7 +98,7 @@ class ElasticsearchCookbook::ConfigureResource < Chef::Resource::LWRPBase

'discovery.zen.ping.multicast.enabled' => true,
'discovery.zen.minimum_master_nodes' => 1,
'gateway.expected_nodes' => 1,
'gateway.expected_nodes' => 0,

'http.port' => 9200
})
Expand Down

0 comments on commit 7eefdc5

Please sign in to comment.