Thanks for the input, I will try the suggestions and report back if I
experience any problems.


On Wed, Feb 18, 2009 at 11:49 AM, Michael DeHaan <[email protected]> wrote:

> Fabien Dupont wrote:
> >
> >
> > 2009/2/18 Michael DeHaan <[email protected] <mailto:[email protected]
> >>
> >
> >     Fabien Dupont wrote:
> >     > If your repository storage is mounted on your cobbler server
> >     (locally
> >     > or through NFS or iSCSI...), you should add your repository like
> >     this :
> >     >
> >     > cobbler repo add --name=<repository_name>
> >     > --mirror=<path_to_your_repository> --mirror-locally=N
> >     >
> >     > and create a symbolic link
> >     > /var/www/cobbler/repo_mirror/<repository_name> (or whatever the
> path
> >     > of you cobbler www directory) targeting your local repository for
> it
> >     > to be available through HTTP :
> >
> >     You really should not manually create symbolic links in the cobbler
> >     repo_mirror directory.   Just make sure that your content is
> available
> >     somewhere.   In this case, just do /var/www/html/mystuff or
> >     wherever you
> >     want, but do not pick a directory that cobbler manages.    Cobbler
> >     likes
> >     to garden it's own directories and this may lead to it not
> >     working as you suspect.
> >
> >
> > Well, it works exactly as I expect it to work. My data is stored on a
> > NFS share for convenience and backup facilities. Nevertheless, I don't
> > have any other HTTP server on my private network able to serve these
> > directories. And I am not allowed by my company's security policy to
> > let servers or workstations access this share ; only my cobbler server
> > is in the ACL. Thus, I have to provide access to the repositories
> > through cobbler's httpd.
> >
> > I would really prefer having a --available-as option like 'cobbler
> > import' has. But this would probably be not that easy considering the
> > repository can be an http server over the internet...
> >
>
> Yeah, don't assume it will continue to work as you expect if you are
> putting your own content into those directories.  You do have cobbler's
> HTTP server, just don't store the content in a directory that cobbler
> owns (i.e. /var/www/cobbler/..anything).   /var/www/anythingelse is ok.
>
> >     >
> >     > ln -s <path_to_your_repository>
> >     > /var/www/cobbler/repo_mirror/<repository_name>
> >     >
> >     > Unfortunately, cobbler doesn't do that automaticaly (or I haven't
> >     > found how...)
> >
> >     Just do:
> >
> >     cobbler repo add --name=<repository_name>
> >     --mirror=http://server/mystuff/repo_path --mirror-locally=N
> >
> >     It does not need to be served up from a directory that cobbler
> >     manages.
> >
> >     >
> >     > --
> >     > Fabien
> >     >
> >     > 2009/2/18 Léon Keijser <[email protected]
> >     <mailto:[email protected]>
> >     > <mailto:[email protected] <mailto:[email protected]>>>
> >     >
> >     >     On Wed, 2009-02-18 at 10:23 -0500, Rodrique Heron wrote:
> >     >     > We already have a local server mirroring apt sources and I
> >     would
> >     >     just
> >     >     > like to tell Cobbler to use it instead of downloading
> >     everything to
> >     >     > the cobbler server. How can I accomplish this?
> >     >
> >     >     Edit your mirror with --mirror-locally=0
> >     >
> >     >
> >     >     Léon
> >     >
> >     >
> >     >     _______________________________________________
> >     >     cobbler mailing list
> >     >     [email protected]
> >     <mailto:[email protected]>
> >     <mailto:[email protected]
> >     <mailto:[email protected]>>
> >     >     https://fedorahosted.org/mailman/listinfo/cobbler
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > cobbler mailing list
> >     > [email protected]
> >     <mailto:[email protected]>
> >     > https://fedorahosted.org/mailman/listinfo/cobbler
> >     >
> >
> >     _______________________________________________
> >     cobbler mailing list
> >     [email protected] <mailto:
> [email protected]>
> >     https://fedorahosted.org/mailman/listinfo/cobbler
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > cobbler mailing list
> > [email protected]
> > https://fedorahosted.org/mailman/listinfo/cobbler
> >
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to