Skip to content

Commit

Permalink
Merge pull request #209 from ABrehm264/adding-ssl-validation-toggle
Browse files Browse the repository at this point in the history
Adding skip_ssl_validation toggle to the datadog config file
  • Loading branch information
miketheman committed Oct 15, 2015
2 parents 4ab82e6 + 8c35c07 commit 2016957
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions attributes/default.rb
Expand Up @@ -133,6 +133,7 @@
default['datadog']['web_proxy']['port'] = nil
default['datadog']['web_proxy']['user'] = nil
default['datadog']['web_proxy']['password'] = nil
default['datadog']['web_proxy']['skip_ssl_validation'] = nil # accepted values 'yes' or 'no'

# dogstatsd
default['datadog']['dogstatsd'] = true
Expand Down
3 changes: 3 additions & 0 deletions templates/default/datadog.conf.erb
Expand Up @@ -11,6 +11,9 @@ bind_host: <%= node['datadog']['bind_host'] %>
<% if node['datadog']['autorestart'] -%>
autorestart: <%= node['datadog']['autorestart'] %>
<% end -%>
<% if node['datadog']['web_proxy']['skip_ssl_validation'] -%>
skip_ssl_validation: <%= node['datadog']['web_proxy']['skip_ssl_validation'] %>
<% end -%>

tags: <%= node['datadog']['tags'] %>
<% if node['datadog']['collect_ec2_tags'] -%>
Expand Down

0 comments on commit 2016957

Please sign in to comment.