diff --git a/libraries/consul_config.rb b/libraries/consul_config.rb index c2d349ce..f0831d6d 100644 --- a/libraries/consul_config.rb +++ b/libraries/consul_config.rb @@ -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') @@ -136,6 +137,7 @@ def to_json enable_debug enable_syslog encrypt + http_api_response_headers leave_on_terminate log_level node_name