use platform.linux_distribution instead of lsb_release
Fix /cblr/svc/op/findks service autodetection FAILED

findks was returning autodetection FAILED for valid systems.
The fix was proposed by Peter McGowan in
https://bugzilla.redhat.com/show_bug.cgi?id=905129
Make cobbler_web work with mod_nss

For unknown reasons, cobbler_web will sometimes crash when run under
mod_nss, with the failure declared as
" Settings' object has no attribute 'ROOT_URLCONF'"
(This problem is not observed using mod_ssl).

ROOT_URLCONF is explicitly declared in settings, so apparently the
wsgi process is not always importing the correct settings file.

Fix this by inserting cobbler_web's dirs at the beginning of the path.
cobbler.spec - don't require mod_ssl

cobbler will work with mod_nss or mod_ssl, so mod_ssl is not a
requirement.

Furthermore, redhat ipa uses mod_nss, installing mod_ssl
conflicts. So, be nice. Users of cobbler should have no trouble
installing a package themselves :^).
Use WSGIDaemonProcess

Following suggestions on
 http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
run cobbler_web under its own process group. Aside from proccess
separation, this allows restarting cobbler_web following cobblerd
without restarting the entire web server.
Restart cobbler_web after cobblerd restart

mod_wsgi will reload the process if cobbler.wsgi is touched, doing so
avoids restarting apache and disrupting other users / processes to
update cobbler settings.
Trim trailing whitespace in views.py
Use a valid character for hostname

https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/784420
Allow dash in profile name

https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/918796
Catch AttributeError to manage python <2.6
fix lower() related to #569
Make authn_passthru work again

Apache authentication methods have been broken since the website was
re-written with Django. While authn_pam handles most cases, it cannot
handle single-sign-on using an existing Kerberos TGT, but this case
is well handled by mod_auth_kerb in Apache. So, making mod_authn
function again is useful.

As before, this mode is triggered by setting the authentication
module in modules.conf = 'authn_passthru'. In this mode, the
login form is bypassed, REMOTE_USER *must* be passed in by Apache, and
cobbler does no further checking for authentication. There is no
special case handling required to test that the user is validated
elsewhere, so eliminate that clause from "test_user_authenticated."
For puppet cert cleaning, use default_name_servers_search if name_servers_search not set
Fix empty source_repos attribute of distro on import.

During import, the source_repos attribute is properly calculated
but was not being saved, and as a result, was not populated. Without
this, the yum config for new systems won't point back to the yum
repo created when the distro is imported.
Fix for small error in utils with the recent dist detection change
Add a few extra wsgi commands to the cobbler_web.conf
Fixing checks related to check_dist() change
possible fix for #589
Issue 596: TypeError running cobbler check

This is a simple failure to write the arguments
to a format string as a tuple.
fixes #605