Skip to content

Commit c7b4510

Browse files
committed
use apt keyring instead of trusted.d
trying to follow the recommendations from https://wiki.debian.org/DebianRepository/UseThirdParty
1 parent 6562d5b commit c7b4510

8 files changed

+8
-8
lines changed

ci/create-packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function fpm_log_format {
133133
function install_deb_key_files {
134134
project_target_repo=$(jq --raw-output .target_repo "$project_json")
135135
install -D "$source_directory/keyring.gpg" \
136-
"$build_directory/etc/apt/trusted.gpg.d/$project_target_repo-keyring.gpg"
136+
"$build_directory/etc/apt/keyrings/puppetlabs-keyring.gpg"
137137
}
138138

139139
function install_rpm_key_files {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet __CODENAME__ Repository
2-
deb http://apt.puppet.com __CODENAME__ puppet
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://apt.puppet.com __CODENAME__ puppet
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet Tools __CODENAME__ Repository
2-
deb http://apt.puppet.com __CODENAME__ puppet-tools
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://apt.puppet.com __CODENAME__ puppet-tools
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet 7 __CODENAME__ Repository
2-
deb http://apt.puppet.com __CODENAME__ puppet7
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://apt.puppet.com __CODENAME__ puppet7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet 8 __CODENAME__ Repository
2-
deb http://apt.puppet.com __CODENAME__ puppet8
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://apt.puppet.com __CODENAME__ puppet8
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet Nightly __CODENAME__ Repository
2-
deb http://nightlies.puppet.com/apt __CODENAME__ puppet-nightly
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://nightlies.puppet.com/apt __CODENAME__ puppet-nightly
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet 7 Nightly __CODENAME__ Repository
2-
deb http://nightlies.puppet.com/apt __CODENAME__ puppet7-nightly
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://nightlies.puppet.com/apt __CODENAME__ puppet7-nightly
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Puppet 8 Nightly __CODENAME__ Repository
2-
deb http://nightlies.puppet.com/apt __CODENAME__ puppet8-nightly
2+
deb [signed-by=/etc/apt/keyrings/puppetlabs-keyring.gpg] http://nightlies.puppet.com/apt __CODENAME__ puppet8-nightly

0 commit comments

Comments
 (0)