Skip to content

Commit

Permalink
Use https:// in datadog-reports.yaml (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Cabrinha authored and truthbk committed Mar 15, 2019
1 parent 928614b commit bd65406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/classes/datadog_agent_reports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
should contain_file(conf_file)\
.with_owner('puppet')\
.with_group('root')\
.with_content(/:api_url: api.datadoghq.eu/)
.with_content(/:api_url: https:\/\/api.datadoghq.eu/)
end
it { should contain_file(conf_file).without_content(/hostname_extraction_regex:/) }
end
Expand Down
2 changes: 1 addition & 1 deletion templates/datadog-reports.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---
:datadog_api_key: '<%= @api_key %>'
:api_url: api.<%= @datadog_site %>
:api_url: https://api.<%= @datadog_site %>
<% if @hostname_extraction_regex -%>
:hostname_extraction_regex: '<%= @hostname_extraction_regex %>'
<% end -%>

0 comments on commit bd65406

Please sign in to comment.