On Wed, Apr 22, 2009 at 2:06 PM, Michael DeHaan <mdehaan(a)redhat.com> wrote:
Here's an update on the Django packaging details, which I should
have
originally sent here and not to the regular list.
--Michael
Django files will be installed by the cobbler-web RPM into:
/usr/share/cobbler/django
Cobbler now has the following three Apache configuration files
/etc/httpd/conf.d/cobbler.conf -- basically now just points folks to
the web application and also ensures trees are servicable.
/etc/httpd/conf.d/cobbler-svc.conf -- handles the mod_python service
handlers -- we could actually consolidate this with the first, now would
be a good time (I think so, yes?)
Yes. Good time.
/etc/httpd/conf.d/cobbler-django.conf (if installed) -- makes
http://.../cobbler_web work
If the user visits the old URL (http://.../cobbler/web) then they
will get a message telling them about the new URL and what package to
install.. should help nicely with IRC questions. :)
The cobbler web package also stores files in:
/var/www/cobbler_webui_content
html files, icons, CSS
I did this so the path would be wholy owned by cobbler-web, and not
by the cobbler package. Makes things a bit less confusing (to me, anyway)
How would this affect any selinux items?
The following path no longer has anything in it:
/var/www/cobbler/webui
Cobbler still puts internal content, but not "web browser content" in
/var/www/cobbler
as it has always done
The following path just contains the index.html file telling folks where
the new app is, which we'll keep around for a few releases at least:
/var/www/cobbler/web
Cool.
Also in the source tree I've removed "webui_templates"
and all the
django stuff (mostly) lives in the subdirectory "django-webui". There
are still a few source files that we should probably
consolidate, noteably django-webui/javascript should go into
webui_content (if that makes sense to James) and also the webui.html
file that is the minimal online help for the web app should probably
move from docs to webui_content too. (Which is not hard).
So when folks running 1.6 finally upgrade to 1.8, they should only be
slightly suprised by some .rpmsave files they need to remove in
/etc/httpd/conf.d -- of which I'm not sure of a great way to save
folks from that trouble -- but the web app should nicely point people to
the right place once they get going.
Comments? Questions?
--Michael
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel
--
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"