diff --git a/manifests/params.pp b/manifests/params.pp index ad01fc227..5bc5af694 100755 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -136,7 +136,7 @@ $package_cs_key_source = 'https://packages.docker.com/1.9/apt/gpg' $package_cs_key = '0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' $package_source_location = 'http://apt.dockerproject.org/repo' - $package_key_source = 'https://apt.dockerproject.org/gpg' + $package_key_source = 'https://pgp.mit.edu' $package_key = '58118E89F3A912897C070ADBF76221572C52609D' if ($::operatingsystem == 'Debian' and versioncmp($::operatingsystemmajrelease, '8') >= 0) or diff --git a/manifests/repos.pp b/manifests/repos.pp index 3436ec733..90f46887e 100644 --- a/manifests/repos.pp +++ b/manifests/repos.pp @@ -18,13 +18,16 @@ $package_key = $docker::package_key } apt::source { 'docker': - location => $location, - release => $docker::package_release, - repos => $docker::package_repos, - key => $package_key, - key_source => $key_source, - required_packages => 'debian-keyring debian-archive-keyring', - include_src => false, + location => $location, + release => $docker::package_release, + repos => $docker::package_repos, + key => { + 'id' => $package_key, + 'server' => $key_source, + }, + include => { + 'src' => false, + }, } $url_split = split($location, '/') $repo_host = $url_split[2] diff --git a/metadata.json b/metadata.json index bd858fec4..3e3394cd0 100755 --- a/metadata.json +++ b/metadata.json @@ -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":"<= 4.0.0"}, {"name":"stahnma/epel","version_requirement":">= 0.0.6"} ], "data_provider": null, @@ -31,7 +31,8 @@ "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "12.04", - "14.04" + "14.04", + "16.04" ] }, { @@ -57,7 +58,7 @@ "requirements": [ { "name": "puppet", - "version_requirement": ">= 3.4.0" + "version_requirement": ">= 4.7.0" } ] }