Skip to content

Commit

Permalink
Updates apt::source usage
Browse files Browse the repository at this point in the history
The use of key_source in apt::source is deprecated since puppetlabs/apt
version 2.1.1 (at least) and removed in version 4.0.0.
  • Loading branch information
amateo committed Aug 30, 2017
1 parent d8587b2 commit 40268f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions manifests/repos.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
location => $location,
release => $docker::package_release,
repos => $docker::package_repos,
key => $package_key,
key_source => $key_source,
key => {
id => $package_key,
source => $key_source,
},
required_packages => 'debian-keyring debian-archive-keyring',
include_src => false,
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"issues_url": "https://github.com/garethr/garethr-docker/issues",
"dependencies": [
{"name":"puppetlabs/stdlib","version_requirement":">= 4.1.0"},
{"name":"puppetlabs/apt","version_requirement":">= 1.8.0 <= 3.0.0"},
{"name":"puppetlabs/apt","version_requirement":">= 2.1.0"},
{"name":"stahnma/epel","version_requirement":">= 0.0.6"}
],
"data_provider": null,
Expand Down

0 comments on commit 40268f5

Please sign in to comment.