Skip to content

Commit

Permalink
Adding rejoin after leave for auto cluster remediation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Workman committed Apr 16, 2015
1 parent 39971a1 commit de8b46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
service_config['client_addr'] = node['consul']['client_addr']
end

additional_options = ['recursor', 'statsd_addr', 'leave_on_terminate', 'disable_remote_exec', 'acl_datacenter', 'acl_token', 'acl_default_policy', 'acl_down_policy', 'acl_master_token']
additional_options = ['recursor', 'statsd_addr', 'leave_on_terminate','rejoin_after_leave', 'disable_remote_exec', 'acl_datacenter', 'acl_token', 'acl_default_policy', 'acl_down_policy', 'acl_master_token']

additional_options.each do |option|
if node['consul'][option]
Expand Down

0 comments on commit de8b46e

Please sign in to comment.