summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMatt Taggart <taggart@lackof.org>2010-09-08 15:39:33 -0700
committerMatt Taggart <taggart@lackof.org>2010-09-08 15:39:33 -0700
commit356ff9334078198fde39fe5c8e8212109d6537a0 (patch)
tree6acdc8d2a5b9ef9080528630662065647fa47e34 /manifests
parentcb9e265ad23178d47970e28458b8a426d9400d92 (diff)
backports.org has merged with the normal debian archive, the apt source changed and we don't need a separate apt-key for it now
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp39
1 files changed, 2 insertions, 37 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 497077b..774f9e4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -69,44 +69,9 @@ class apt {
## This package should really always be current
package { "debian-archive-keyring": ensure => latest }
+ # backports uses the normal archive key now
+ package { "debian-backports-keyring": ensure => absent }
- case $lsbdistcodename {
- etch: {
- package { "debian-backports-keyring": ensure => latest }
-
- # This key was downloaded from
- # http://backports.org/debian/archive.key
- # and is needed to bootstrap the backports trustpath
- file { "${apt_base_dir}/backports.org.key":
- source => "puppet:///modules/apt/backports.org.key",
- mode => 0444, owner => root, group => root,
- }
- exec { "/usr/bin/apt-key add ${apt_base_dir}/backports.org.key && apt-get update":
- alias => "backports_key",
- refreshonly => true,
- subscribe => File["${apt_base_dir}/backports.org.key"],
- before => [ File["apt_config"], Package["debian-backports-keyring"] ]
- }
- }
- lenny: {
- package { "debian-backports-keyring": ensure => latest }
-
- # This key was downloaded from
- # http://backports.org/debian/archive.key
- # and is needed to bootstrap the backports trustpath
- file { "${apt_base_dir}/backports.org.key":
- source => "puppet:///modules/apt/backports.org.key",
- mode => 0444, owner => root, group => root,
- }
- exec { "/usr/bin/apt-key add ${apt_base_dir}/backports.org.key && apt-get update":
- alias => "backports_key",
- refreshonly => true,
- subscribe => File["${apt_base_dir}/backports.org.key"],
- before => [ Config_file["apt_config"], Package["debian-backports-keyring"] ]
- }
- }
- }
-
case $custom_key_dir {
'': {
exec { "/bin/true # no_custom_keydir": }