Initial commit for adding support for other template languages, namely jinja2 in this case
Added the setting 'default_template_type' to the settings file, and
created logic to use that in Templar().render(). Also added an option
to the same function to pass the template type in as an argument.
Don't blow up on broken links under /var/www/cobbler/links

os.path.exists()  returns False on broken symlinks whereas
os.path.lexists() returns True even if the symlinks is broken.
Merge pull request #2 from SEJeff/master

Cobbler shouldn't fail trying to re-create broken symlinks
Corrected typo in man page.
Moved list terminator to correct location.
Made example of cobbler import via rsync clearer.
Merge pull request #3 from apeschel/master

Manpage updates
Fix creation of repo mirror when importing iso.
Fixes the creation of a disabled repo mirror when importing ISO's
such as the mini.iso that does not contain any mirror/packages.
Additionally, really enables 'apt' as possible repository.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Fix reposync missing env variable for debmirror
 Fixes missing HOME env variable for debmirror by hardcoding the environment variable
 to /var/lib/cobbler

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
koan: Use grub2 for --replace-self instead of grubby
The koan option '--replace-self' uses grubby, which relies on grub1, to replace a
local installation by installing the new kernel/initrd into grub menu entries.
Ubuntu/Debian no longer uses it grub1. This patch adds the ability to use grub2
to add the kernel/initrd downloaded to a menuentry. On reboot, it will boot from
the install kernel reinstalling the system. Fixes (LP: #766229)

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Add kernel postinst options.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
koan: do not include ks_meta args when obtaining tree
When obtaining the tree for Ubuntu machines, ensure that ks_meta
args are not passed as part of the tree if they exist.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Signed-off-by: Andres Rodriguez <andreserl@ubuntu.com>
Changes PYTHON_EGG_CACHE to a safer path owned just by the webserver.

Signed-off-by: Clint Byrum <clint@ubuntu.com>
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Add arm as a valid architecture.

Signed-off-by: Andreas Rodriguez <andreserl@ubuntu.com>
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge pull request #5 from zulcss/master

Cobbler Updates from Ubuntu
Remove cobbler4j, unsupported/unmaintained
Removing test dir, unit tests can live in apitests
Move apitests to tests
remove sync master script, "cobbler replicate" is available in the core, use that