apt/curl is broken in jessie #771404
authorPeter Palfrader <peter@palfrader.org>
Sat, 29 Nov 2014 08:44:25 +0000 (09:44 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 29 Nov 2014 08:44:25 +0000 (09:44 +0100)
modules/buildd/manifests/init.pp

index de1affe..d540571 100644 (file)
@@ -51,9 +51,15 @@ class buildd ($ensure=present) {
                default => 'absent',
        }
 
-       file { '/etc/apt/apt.conf.d/puppet-https-buildd':
-               content => "Acquire::https::buildd.debian.org::CaInfo \"/etc/ssl/servicecerts/buildd.debian.org.crt\";\n",
-               #require => File['/etc/ssl/certs/buildd.debian.org.crt']
+       if ($::lsbmajdistrelease >= 8) {
+               file { '/etc/apt/apt.conf.d/puppet-https-buildd':
+                       ensure => absent,
+               }
+       } else {
+               file { '/etc/apt/apt.conf.d/puppet-https-buildd':
+                       content => "Acquire::https::buildd.debian.org::CaInfo \"/etc/ssl/servicecerts/buildd.debian.org.crt\";\n",
+                       #require => File['/etc/ssl/certs/buildd.debian.org.crt']
+               }
        }
        site::aptrepo { 'buildd.debian.org-proposed':
                ensure     => $buildd_prop_ensure,