From 9015db703f995afbc4fa037608093bfc59a769f6 Mon Sep 17 00:00:00 2001 From: Jeff George Date: Tue, 18 Oct 2016 16:32:49 -0400 Subject: [PATCH] Last-minute bug fix for Percona (THANKS PERCONA!) --- puppet/precip/manifests/database.pp | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/puppet/precip/manifests/database.pp b/puppet/precip/manifests/database.pp index 7095750..c35a287 100644 --- a/puppet/precip/manifests/database.pp +++ b/puppet/precip/manifests/database.pp @@ -14,14 +14,25 @@ require => File['/etc/mysql'], } + # New Keys for Percona Server + apt::key { 'percona': + id => '430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A', + server => 'keyserver.ubuntu.com', + } + + apt::key { 'percona-packaging': + id => '4D1BB29D63D98E422B2113B19334A25F8507EFA5', + server => 'keyserver.ubuntu.com', + } + # Define the Percona apt repo apt::source { 'Percona': - location => 'http://repo.percona.com/apt', - repos => 'main', - key => { - 'id' => '430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A', - 'server' => 'keys.gnupg.net', - }, + location => 'http://repo.percona.com/apt', + repos => 'main', + require => [ + Apt::Key['percona'], + Apt::Key['percona-packaging'] + ] } class { 'mysql::client':