Short links to Fedora Cloud Images
Sandro Mathys
sandro at mathys.io
Wed Dec 17 15:55:32 UTC 2014
The patch looks good to me. But I think there should also be
fedora-atomic-latest short links :)
I still receive the -20 file when following the -latest links but I figure
the patch is not yet (fully) rolled out / live or things are still cached.
Thanks,
Sandro
On Thu, Dec 18, 2014 at 12:03 AM, Ralph Bean <rbean at redhat.com> wrote:
>
> 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
>
> _______________________________________________
> cloud mailing list
> cloud at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/cloud/attachments/20141218/b67e9e52/attachment-0001.html>
More information about the cloud
mailing list