Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
specify nil distribution by default in apt repository
Browse files Browse the repository at this point in the history
nil works for offical repository, but for private it might be required
  • Loading branch information
tomzo committed Dec 18, 2015
1 parent 1908c5a commit 1dfc518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions attributes/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

default['gocd']['repository']['apt']['uri'] = 'http://dl.bintray.com/gocd/gocd-deb/'
default['gocd']['repository']['apt']['components'] = [ '/' ]
default['gocd']['repository']['apt']['distribution'] = nil
default['gocd']['repository']['apt']['package_options'] = '--force-yes'
default['gocd']['repository']['apt']['keyserver'] = 'pgp.mit.edu'
default['gocd']['repository']['apt']['key'] = '0x9149B0A6173454C7'
Expand Down
1 change: 1 addition & 0 deletions recipes/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
apt_repository 'gocd' do
uri node['gocd']['repository']['apt']['uri']
components node['gocd']['repository']['apt']['components']
distribution node['gocd']['repository']['apt']['distribution']
keyserver node['gocd']['repository']['apt']['keyserver'] unless node['gocd']['repository']['apt']['keyserver'] == false
key node['gocd']['repository']['apt']['key'] unless node['gocd']['repository']['apt']['key'] == false
end
Expand Down

0 comments on commit 1dfc518

Please sign in to comment.