Skip to content

Commit

Permalink
add support for specifying the raft protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
poblahblahblah committed Apr 7, 2017
1 parent 7b9b75c commit e045b83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/consul_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class ConsulConfig < Chef::Resource
attribute(:performance, kind_of: [Hash, Mash])
attribute(:ports, kind_of: [Hash, Mash])
attribute(:protocol, kind_of: String)
attribute(:raft_protocol, kind_of: Integer, default: false)
attribute(:reap, equal_to: [true, false])
attribute(:reconnect_timeout, kind_of: String)
attribute(:reconnect_timeout_wan, kind_of: String)
Expand Down Expand Up @@ -153,6 +154,7 @@ def to_json
ports
protocol
reap
raft_protocol
reconnect_timeout
reconnect_timeout_wan
recursor
Expand Down

0 comments on commit e045b83

Please sign in to comment.