Skip to content

Commit

Permalink
Merge pull request #130 from DataDog/albertvaka/skip-tls-validation
Browse files Browse the repository at this point in the history
Allow skipping SSL verification
  • Loading branch information
albertvaka authored Dec 10, 2020
2 parents 5ed04ea + efb276c commit 337d36f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chef-handler-datadog.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.extra_rdoc_files = ['README.md', 'LICENSE.txt']

gem.add_dependency 'dogapi', '~> 1.43.0'
gem.add_dependency 'dogapi', '~> 1.44.0'

gem.add_development_dependency 'appraisal', '~> 2.0.1'
gem.add_development_dependency 'bundler'
Expand Down
3 changes: 2 additions & 1 deletion lib/chef/handler/datadog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def prepare_the_pack
nil, # device
false, # silent
nil, # timeout
url
url,
config[:skip_ssl_validation]
))
rescue => e
Chef::Log.error("Could not create API Client '#{url}'\n #{e.to_s}")
Expand Down

0 comments on commit 337d36f

Please sign in to comment.