Short links to Fedora Cloud Images

Ralph Bean rbean at redhat.com
Wed Dec 17 15:03:58 UTC 2014


On Wed, Dec 17, 2014 at 10:48:53PM +0900, Sandro "red" Mathys wrote:
> On Mon, Jul 8, 2013 at 8:06 AM, Matthew Miller <mattdm at fedoraproject.org> wrote:
> > These links all work now:
> >
> >     http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2
> >
> >     http://cloud.fedoraproject.org/fedora-19.i386.qcow2
> >
> >     http://cloud.fedoraproject.org/fedora-latest.i386.qcow2
> >
> >     http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2
> 
> So, it seems no -21 short links exist (instead, one is redirected to
> the download page) and the -latest links still point to -20. Figure
> they should either be added/updated or be obsoleted/removed
> completely. They are very handy, though...but since they have never
> been promoted AFAIK, probably no-one except me remembers them anyway.
> ;)

Thanks for this, I just updated them (patch attached).  Can you verify
that they're pointing to where they should be?

From 4ea57eab0ba067605190f78e05ed70d967a6cc87 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Wed, 17 Dec 2014 15:01:48 +0000
Subject: [PATCH] Fix cloud image pointer redirects.

---
 manifests/services/proxy.pp |   59 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/manifests/services/proxy.pp b/manifests/services/proxy.pp
index fcb5c09..502aba0 100644
--- a/manifests/services/proxy.pp
+++ b/manifests/services/proxy.pp
@@ -1050,6 +1050,59 @@ if $puppetEnvironment == 'staging'{
         target  => "http://fedoraproject.org/en/get-fedora#clouds",
     }
 
+# redirects/pointers for fedora 21 cloud images
+
+    httpd::redirect { "cloud-base-64bit-21":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-21.x86_64.qcow2",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow2",
+    }
+
+    httpd::redirect { "cloud-base-64bit-21-raw":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-21.x86_64.raw.xz",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.raw.xz",
+    }
+
+    httpd::redirect { "cloud-base-32bit-21":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-21.i386.qcow2",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/i386/Fedora-Cloud-Base-20141203-21.i386.qcow2",
+    }
+
+    httpd::redirect { "cloud-base-32bit-21-raw":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-21.i386.raw.xz",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/i386/Fedora-Cloud-Base-20141203-21.i386.raw.xz",
+    }
+
+    httpd::redirect { "cloud-atomic-64bit-21":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-atomic-21.x86_64.qcow2",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Atomic-20141203-21.x86_64.qcow2",
+    }
+
+    httpd::redirect { "cloud-atomic-64bit-21-raw":
+        website => "cloud.fedoraproject.org",
+        path    => "/fedora-atomic-21.x86_64.raw.xz",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Atomic-20141203-21.x86_64.raw.xz",
+    }
+
+    # We don't currently have 32bit atomic images, but it would make sense to
+    # put their redirects here..
+
+    #httpd::redirect { "cloud-atomic-32bit-21":
+    #    website => "cloud.fedoraproject.org",
+    #    path    => "/fedora-atomic-21.i386.qcow2",
+    #    target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/i386/Fedora-Cloud-Atomic-20141203-21.i386.qcow2",
+    #}
+
+    #httpd::redirect { "cloud-atomic-32bit-21-raw":
+    #    website => "cloud.fedoraproject.org",
+    #    path    => "/fedora-atomic-21.i386.raw.xz",
+    #    target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/i386/Fedora-Cloud-Atomic-20141203-21.i386.raw.xz",
+    #}
+
 # redirects/pointers for fedora 20 cloud images
 
     httpd::redirect { "cloud-64bit-20":
@@ -1095,15 +1148,17 @@ if $puppetEnvironment == 'staging'{
     httpd::redirect { "cloud-64bit-latest":
         website => "cloud.fedoraproject.org",
         path    => "/fedora-latest.x86_64.qcow2",
-        target  => "http://download.fedoraproject.org/pub/fedora/linux/updates/20/Images/x86_64/Fedora-x86_64-20-20140407-sda.qcow2",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow2",
     }
 
     httpd::redirect { "cloud-32bit-latest":
         website => "cloud.fedoraproject.org",
         path    => "/fedora-latest.i386.qcow2",
-        target  => "http://download.fedoraproject.org/pub/fedora/linux/updates/20/Images/i386/Fedora-i386-20-20140407-sda.qcow2",
+        target  => "http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/Images/i386/Fedora-Cloud-Base-20141203-21.i386.qcow2",
     }
 
+# end of cloud redirects/pointers
+
     httpd::redirect { "infofeed":
         website => "fedoraproject.org",
         path    => "/infofeed",
-- 
1.7.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/cloud/attachments/20141217/4935ce96/attachment.sig>


More information about the cloud mailing list