Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add http_api_response_headers attribute #416

Merged
merged 1 commit into from
Mar 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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