summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
Commit message (Collapse)AuthorAgeFilesLines
* Make copyfile understand that if it can't copy a file to itself it shouldn'tMichael DeHaan2007-11-071-2/+5
| | | | fail the operation.
* Changes to make the overhauled repo templating work with source repositories ↵Michael DeHaan2007-11-051-6/+7
| | | | (which are repos found on the installation media during the import process, things like RHEL5's VT repo).
* Remove debug code.Michael DeHaan2007-11-051-2/+0
|
* Optimize sync performance by caching the results of calls to "blender".Michael DeHaan2007-11-051-22/+23
|
* Slight tweak to make imports work with new repo generationMichael DeHaan2007-11-021-1/+1
|
* Making sync use the new mirror parameter.Michael DeHaan2007-11-021-2/+2
|
* Work on getting the repos to be templated, largely complete, pending more ↵Michael DeHaan2007-11-021-25/+63
| | | | testing.
* In the process of making all repositories templates so we can apply the ↵Michael DeHaan2007-11-021-44/+94
| | | | | | | values of --server-override to them and make cobbler servers easier to migrate also. This will result in the removal of --local-filename from cobbler repos.
* Code to wire up the new --server-override to the sync code. This leaves off ↵Michael DeHaan2007-11-011-16/+17
| | | | | | | | some of the repo management, which will not work with --server-override completely in all cases (depending on DNS) until we do some extra post magic in our action_sync stanza generaton. Ow, my brain hurts just thinking about other people who have to read that explanation :)
* Fix for cobbler's dhcp generation behavior with the new interface ↵Michael DeHaan2007-10-311-4/+8
| | | | | | representation. (Plus some unfinished work on paginating the WebUI).
* Call deserialize after the pre-sync triggers are run to allow those triggers ↵Michael DeHaan2007-10-241-1/+15
| | | | | | to insert or modify additional cobbler objects, such as via LDAP, despite not sharing the API handle since they are called out of process.
* Remove a circular import between the serializer and the API that was ↵Michael DeHaan2007-10-231-12/+13
| | | | confusing Virt-Factory.
* Service restarting has been abstracted out of the action_sync code, and is ↵Michael DeHaan2007-10-191-26/+2
| | | | | | | | | | now a trigger. This commit adds pre/post sync triggers, for scripting of arbitrary actions. The idea is that a cobbler user can now modify the restart-services script to rsync DHCP configurations to a remote box and instead restart them there, for hosting DHCP on a different box. Or do anything else that might be required. The restart-services trigger will ship in the cobbler RPM. Users can modify it at will and it is marked as config(noreplace) so upgrades will not affect it.
* code to move the CentOS repo had the repo name mispelled for CentOS-baseMichael DeHaan2007-10-161-1/+1
|
* Applied patch to symlink distro kernel/initrd parameters if they live in ↵Michael DeHaan2007-10-151-2/+27
| | | | /tftpboot.
* Applied Jack's patch to keep kickstart values from being resolved as ↵Michael DeHaan2007-10-121-1/+3
| | | | <<inherit>>.
* Remove some dead code and update a few FIXMEs that no longer apply.Michael DeHaan2007-10-101-2/+0
|
* Fix typo in DHCP management function.Michael DeHaan2007-10-101-1/+1
|
* The stringification problem appears to lie in the serializer, so explicitly ↵Michael DeHaan2007-10-091-2/+2
| | | | | | use strings in the YAML to pacify the XMLRPC bits. Plus, this is more readable.
* A few bugfixes. Still working on multiple NICs.Michael DeHaan2007-10-091-1/+1
|
* Storing NICs in a hash for easier access + some refactoring + modifications ↵Michael DeHaan2007-10-091-6/+4
| | | | to the find function.
* More work on the new multi-NIC code. Largely working at this point, sync hasMichael DeHaan2007-10-081-25/+32
| | | | | been updated, and backwards compatibility (upgrades) have been tested. Koan still has to be modified and tested, and templating still needs to be tested.
* Make sync loop through interfaces.Michael DeHaan2007-10-081-57/+77
|
* In process of making NICs seperate data structures in cobbler, which ↵Michael DeHaan2007-10-081-3/+4
| | | | | | | requires seperate accessors and templating. This is all to allow multiple NICs in koan. Stil needs changes in sync code and possibly other places.
* Package the cobbler manpage as html as well as a docs page. Fix a broken ↵Michael DeHaan2007-09-191-1/+1
| | | | docstring in action_sync.py
* Move all CGI scripts to a cobbler subdirectory under cgi-bin for namespacing.Michael DeHaan2007-09-191-2/+5
| | | | | In addition, the webui is now just "webui.cgi" in that directory. RPMs and setup.py also updated.
* Adds edit capability to distro and profile objects, plus some random ↵Michael DeHaan2007-09-131-1/+1
| | | | | | hacking on the WebUI. Also adds delete checkboxes that are currently not implemented.
* Check in beginings of Cobbler WebUI packaging (thanks: Al Tobey). More work ↵Michael DeHaan2007-09-111-1/+1
| | | | TBA.
* Checking in the read-write API with demo examples at the bottom of remote.pyMichael DeHaan2007-09-111-1/+2
|
* Added --dhcp-tag for multi-subnet configurationMichael DeHaan2007-09-071-3/+13
|
* removed deprecated enchant function/module (just use SSH!), config file cleanup.root2007-09-051-15/+0
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/cobblerMichael DeHaan2007-09-051-2/+28
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Add some extra debug output to point users at the problem when there is a syntaxroot2007-09-041-2/+7
| | | | | | | | error in a template we are feeding to Cheetah.
| * Make cobbler not fetch the kickstart when it may be external and CGI based.root2007-09-041-3/+12
| |
| * Adding code to save the kickstart file as /root/anaconda.ksroot2007-09-041-0/+12
| |
* | Fix dhcpd.conf rendering bug.Michael DeHaan2007-09-051-1/+1
|/
* Fix logic in repo name creationMichael DeHaan2007-08-281-1/+1
|
* Allow for usage of Cheetah template variables (sans Cheetah) in configMichael DeHaan2007-08-281-0/+9
| | | | files by replacing $variable with @@variable@@.
* Fix format stringMichael DeHaan2007-08-281-9/+1
|
* Fix bug in repo evaluation with inherited subprofiles.root2007-08-271-2/+2
|
* Ignore subdirectories found in /var/lib/cobbler/snippetsMichael DeHaan2007-08-271-0/+2
|
* Bugfixing for deleting systems that are not named after MAC addresses.Michael DeHaan2007-08-211-1/+1
|
* Also check mac address against None prior to adding dhcp entry for systemMichael DeHaan2007-08-211-2/+3
| | | | that is not named after a mac address.
* Patch to allow snippets to be commented out in kickstart templatesroot2007-08-211-2/+7
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/cobblerMichael DeHaan2007-08-161-4/+4
|\
| * Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-4/+4
| | | | | | | | | | | | of find (mpd) to add some error checking, list returns, and other semi-useful stuff. Plus tests and an optomization to allow name=foo as the only parameter to be just as fast as before.
* | (A) using http:// or ftp:// for cobbler imports is an error, and (B) allow ↵Michael DeHaan2007-08-161-1/+7
|/ | | | imports across symlinks
* Only do NFS remangling if nfs://Michael DeHaan2007-08-061-2/+2
|
* Add the non-useful --url line even for NFS, as koan will be lookingMichael DeHaan2007-08-061-1/+1
| | | | for it and needs that data to tell virtinst what to do.
* Make cobbler write out correct NFS directives even when metadataMichael DeHaan2007-08-061-1/+17
| | | | references NFS in URL form.