[Pulp-list] Publishing web-accessible symlinks

Baird, Josh jbaird at follett.com
Fri Jun 17 16:00:09 UTC 2016


Yeah, this does work.  I was hoping to be able to somehow do this via the API or pulp-admin since that’s how we create the snapshots.

From: Kodiak Firesmith [mailto:kfiresmith at gmail.com]
Sent: Friday, June 17, 2016 11:57 AM
To: Baird, Josh <jbaird at follett.com>
Cc: pulp-list at redhat.com
Subject: Re: [Pulp-list] Publishing web-accessible symlinks

Dunno how technically correct this solution is, but it seems to work:

$pwd
/var/www/pub/yum/https/repos/

$sudo -u apache ln -s rhel-os/server/7/7Server/x86_64 rhel-7-latest
$ls -lah
drwxr-x---.  3 apache apache   33 Jun 17 10:38 rhel-os
lrwxrwxrwx.  1 apache apache   31 Jun 17 11:49 rhel-7-latest -> rhel-os/server/7/7Server/x86_64
Contents of my RHEL 7 repos are now avail at rhel-7-latest:  https://pulp-beta.somecollege.edu/pulp/repos/rhel-7-latest/
That's a helluva lot simpler than my original thought for you quandry which would be to create a blank repo called rhel-7-server-latest, do an rpm copy job on all the rpms in your latest snapshot, then tear that -latest repo down and recreate quarterly with the new latest quarterly snapshot.
 - Kodiak


On Fri, Jun 17, 2016 at 11:21 AM, Baird, Josh <jbaird at follett.com<mailto:jbaird at follett.com>> wrote:
Hi,

We cut quarterly snapshots of the RHEL repositories and publish them as ‘/rhel/7Server/x86_64/snapshot/2016XXYY.’  I’m looking for a way to create a ‘latest’ symlink (/rhel/7Server/x86_64/snapshot/latest -> 2016XXYY) that links to the latest snapshot date available.

Is there any way to create and publish web-accessible symlinks with Pulp?

Thanks,

Josh

_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com<mailto:Pulp-list at redhat.com>
https://www.redhat.com/mailman/listinfo/pulp-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160617/5529790e/attachment.htm>


More information about the Pulp-list mailing list