Skip to content

Commit

Permalink
Merge pull request #416 from Yanovskiy/patch-1
Browse files Browse the repository at this point in the history
Add http_api_response_headers attribute
  • Loading branch information
legal90 committed Mar 11, 2017
2 parents d420749 + 3b875d2 commit 88260ba
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 @@ -64,6 +64,7 @@ class ConsulConfig < Chef::Resource
attribute(:enable_debug, equal_to: [true, false], default: false)
attribute(:enable_syslog, equal_to: [true, false], default: false)
attribute(:encrypt, kind_of: String)
attribute(:http_api_response_headers, kind_of: [Hash, Mash])
attribute(:key_file, kind_of: String)
attribute(:leave_on_terminate, equal_to: [true, false], default: false)
attribute(:log_level, equal_to: %w(INFO DEBUG WARN), default: 'INFO')
Expand Down Expand Up @@ -136,6 +137,7 @@ def to_json
enable_debug
enable_syslog
encrypt
http_api_response_headers
leave_on_terminate
log_level
node_name
Expand Down

0 comments on commit 88260ba

Please sign in to comment.