Skip to content

Commit

Permalink
Merge pull request #115 from puppetlabs/repo_fix_arch
Browse files Browse the repository at this point in the history
Repo fix arch
  • Loading branch information
davejrt authored Jan 15, 2018
2 parents 1f5acfb + 15c4188 commit 0126f80
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions manifests/repos.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
#
#
class docker::repos (
$location = $docker::package_location,
$key_source = $docker::package_key_source,
$location = $docker::package_location,
$key_source = $docker::package_key_source,
$key_check_source = $docker::package_key_check_source,
$architecture = $facts['architecture'],
) {

ensure_packages($docker::prerequired_packages)
Expand All @@ -18,15 +19,16 @@
ensure_packages(['debian-keyring', 'debian-archive-keyring'])

apt::source { 'docker':
location => $location,
release => $release,
repos => $package_repos,
key => {
location => $location,
architecture => $architecture,
release => $release,
repos => $package_repos,
key => {
id => $package_key,
source => $key_source,
},
require => Package['debian-keyring', 'debian-archive-keyring'],
include => {
require => Package['debian-keyring', 'debian-archive-keyring'],
include => {
src => false,
},
}
Expand Down

0 comments on commit 0126f80

Please sign in to comment.