Skip to content

Commit

Permalink
Add apt-transport-https to the repository install. In preparation for…
Browse files Browse the repository at this point in the history
… HTTPS repo.

Closes #219

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
darron authored and miketheman committed Oct 15, 2015
1 parent 1f3f758 commit 9786761
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
when 'debian'
include_recipe 'apt'

package 'apt-transport-https' do
action :install
end

apt_repository 'datadog' do
keyserver 'hkp://keyserver.ubuntu.com:80'
key 'C7A7DA52'
Expand Down
4 changes: 4 additions & 0 deletions spec/dd-agent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
it 'sets up an apt repo' do
expect(chef_run).to add_apt_repository('datadog')
end

it 'installs apt-transport-https' do
expect(chef_run).to install_package('apt-transport-https')
end
end

shared_examples_for 'rhellions' do
Expand Down

0 comments on commit 9786761

Please sign in to comment.