Skip to content

Commit

Permalink
Merge pull request DataDog#208 from jacobbednarz/use-https-for-apt
Browse files Browse the repository at this point in the history
Use HTTPS for apt requests
  • Loading branch information
truthbk committed Jul 26, 2016
2 parents 02a60aa + 4a904e6 commit 02deb6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion files/datadog.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deb http://apt.datadoghq.com/ stable main
deb https://apt.datadoghq.com/ stable main
5 changes: 5 additions & 0 deletions spec/classes/datadog_agent_ubuntu_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
}
end

it do
contain_file('/etc/apt/sources.list.d/datadog.list')\
.with_content(%r{deb\s+https://apt.datadoghq.com/\s+stable\s+main})
end

# it should install the mirror
it { should contain_exec('datadog_key') }
it do
Expand Down

0 comments on commit 02deb6e

Please sign in to comment.