Skip to content

Commit 027bfcf

Browse files
Scott Cabrinhatruthbk
authored andcommitted
Use https:// in datadog-reports.yaml (DataDog#503)
1 parent a7830b7 commit 027bfcf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/classes/datadog_agent_reports_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
should contain_file(conf_file)\
173173
.with_owner('puppet')\
174174
.with_group('root')\
175-
.with_content(/:api_url: api.datadoghq.eu/)
175+
.with_content(/:api_url: https:\/\/api.datadoghq.eu/)
176176
end
177177
it { should contain_file(conf_file).without_content(/hostname_extraction_regex:/) }
178178
end

templates/datadog-reports.yaml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
---
44
:datadog_api_key: '<%= @api_key %>'
5-
:api_url: api.<%= @datadog_site %>
5+
:api_url: https://api.<%= @datadog_site %>
66
<% if @hostname_extraction_regex -%>
77
:hostname_extraction_regex: '<%= @hostname_extraction_regex %>'
88
<% end -%>

0 commit comments

Comments
 (0)