Local Repo without using SMT

Is there a way to get a local repo without using the SMT server. We already have a local repo for lots of distros and would like to keep SLES there as well, but i cant run rsync on the novell repo’s like any other due to the auth…

Does anybody else do this, would rather avoid running another machine just to have SMT running.

Thanks
William

Hi
What is the host OS? All I can think of is wget or perhaps spacewalk
(the tools package and spacewalk-repo-sync).


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Well its a centOS machine that hosts lots of our internal repos and for simplicity sake wanted to keep SLES on there as well. Would be good just to get a rsync in cron with the others…

Will spacewalk just seems excessive for this job, as does SMT server. wget doesn’t work over https to the Novell mirror & its not available over http.

Cheers
William

William,

as I use wget in https context from time to time, would you mind to share why/how “wget doesnt’ work over https” for you? Maybe it’s just a question of setting the proper parameters for certificate verification?

With regards,
Jens

[QUOTE=jmozdzen;22170]William,

as I use wget in https context from time to time, would you mind to share why/how “wget doesnt’ work over https” for you? Maybe it’s just a question of setting the proper parameters for certificate verification?

With regards,
Jens[/QUOTE]

Sorry got this fixed. Not the most elegant solution but I have local repos set up nicely now. Just using a ridiculous wget command to pull the mirrors. And the https comment from me earlier was incorrect. I just created all my local repo files and then push them out via ansible. And then mount the NFS share on each server. Below is the wget command for creating the local repo.

wget -r -np -m -e robots=no https://nu.novell.com/repo/\\$RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64/ --user xxxxx --password=xxxxx

Only problem with this technique is because SUSE do not provide a rsync server for pulling the repo. Which is ridiculous imho. You will end up with lots of old files in your directory every time a new version comes out as wget see’s it as a new file and pulls it. So i just purge the directory every couple of weeks and do a fresh pull. Ignoring the robots file is the key part, it allows you to wget the repo :slight_smile:

Regards
William

Hi William,

it seems SUSE decided that they want SMT (or SUSE Manager) as the local agent, as that fits into the registration work flow… I’m not judging nor defending that decision since it’s just that: their decision :slight_smile:

Regards,
Jens