Permalink
Browse files

Replace Ubuntu key file with key from the server

  • Loading branch information...
1 parent 16e975c commit 0bcda61cd0343a523c58ad8192accb7146b14248 Ashley Martens committed Nov 10, 2011
Showing with 2 additions and 8 deletions.
  1. +2 −8 manifests/dependencies.pp
View
@@ -49,15 +49,9 @@
'debian', 'ubuntu': {
- file { '/tmp/APT-GPG-KEY-Boundary':
- ensure => present,
- source => 'puppet:///modules/bprobe/APT-GPG-KEY-Boundary',
- notify => Exec['add-key'],
- }
-
exec { 'add-key':
- command => '/usr/bin/apt-key add /tmp/APT-GPG-KEY-Boundary',
- require => File['/tmp/APT-GPG-KEY-Boundary'],
+ command => '/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com --recv 6532CC20 && apt-get update',
+ unless => "apt-key list | grep -qF '6532CC20'",
refreshonly => true,
}

0 comments on commit 0bcda61

Please sign in to comment.