Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add full 40 character apt key fingerprint to repo.pp #34

Open
tdm4 opened this issue Oct 15, 2015 · 0 comments
Open

Add full 40 character apt key fingerprint to repo.pp #34

tdm4 opened this issue Oct 15, 2015 · 0 comments

Comments

@tdm4
Copy link

tdm4 commented Oct 15, 2015

The puppetlabs' apt module has changed and now adds a warning for short apt keys. The following code should remove the warning, however you may have to update your apt module dependency to a later version for this to work properly.

diff --git a/modules/percona/manifests/repo/apt.pp b/modules/percona/manifests/repo/apt.pp
index 308fa9d..7219194 100644
--- a/modules/percona/manifests/repo/apt.pp
+++ b/modules/percona/manifests/repo/apt.pp
@@ -2,7 +2,7 @@
#
class percona::repo::apt {

- apt::key { 'CD2EFD2A':
+ apt::key { '430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A':
ensure => present,
notify => Exec['percona::repo::apt-get update'],
}
@@ -14,7 +14,7 @@ class percona::repo::apt {
source => false,
content => template ("${module_name}/repo/sources.list.erb"),
notify => Exec['percona::repo::apt-get update'],
- require => Apt::Key['CD2EFD2A'],
+ require => Apt::Key['430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A'],
}
}

@@ -27,7 +27,7 @@ class percona::repo::apt {
release => $::lsbdistcodename,
repos => 'main',
notify => Exec['percona::repo::apt-get update'],
- require => Apt::Key['CD2EFD2A'],
+ require => Apt::Key['430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A'],
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant