diff --git a/manifests/package/debian.pp b/manifests/package/debian.pp index 8a8022669..40f606917 100644 --- a/manifests/package/debian.pp +++ b/manifests/package/debian.pp @@ -31,7 +31,10 @@ apt::source { 'nginx': location => $stable_repo_source, repos => 'nginx', - key => { 'id' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' }, + key => { + 'name' => 'nginx', + 'source' => 'https://nginx.org/keys/nginx_signing.key' + }, release => $release, architecture => $facts['os']['architecture'], } @@ -44,8 +47,10 @@ apt::source { 'nginx': location => $mainline_repo_source, repos => 'nginx', - key => { 'id' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' }, - release => $release, + key => { + 'name' => 'nginx', + 'source' => 'https://nginx.org/keys/nginx_signing.key' + }, release => $release, architecture => $facts['os']['architecture'], } } @@ -57,10 +62,12 @@ apt::source { 'nginx': location => $passenger_repo_source, repos => 'main', - key => { 'id' => '16378A33A6EF16762922526E561F9B9CAC40B2F7' }, + key => { + 'name' => 'nginx', + 'source' => 'https://nginx.org/keys/nginx_signing.key' + }, architecture => $facts['os']['architecture'], } - package { $passenger_package_name: ensure => $passenger_package_ensure, require => Exec['apt_update'],