summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
Commit message (Collapse)AuthorAgeFilesLines
...
* More work on PXE menus. Getting there, just need timeout logic to work.Michael DeHaan2007-02-151-44/+34
|
* Working on adding pxemenu support.Michael DeHaan2007-02-141-35/+112
|
* Further changes related to making cobbler own the directories it's using in ↵Michael DeHaan2007-02-141-31/+27
| | | | | | /var/www and /tftpboot. Plus some minor bugfixes down the error path.
* Run check in post to ensure cobbler tree setup, such that ↵mdehaan@mdehaan.rdu.redhat.com2007-02-141-23/+26
| | | | distros/systems/profiles can be added immediately, without the need to run "sync" to create the base directories.
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-80/+64
| | | | | | | (basically anything that's not really a string or a number) to a list or hash, as appropriate. This will allow the cobbler API to accept list/hash input as appropriate in addition to strings, allowing for more advanced use of the templating engine. This also extends more power to the user to add their own entries in /var/lib/cobbler files for ksmeta, as opposed to having to enter in --ksmeta options on the command line, which previously did not tolerate newlines. All of this is backwards compatible with the old format (both should load fine). Files will convert over to the new format once any add commands are run.
* Moving back to Cheetah for templatingMichael DeHaan2007-02-131-12/+30
|
* Allow some variables to be None that really shouldn't ever be None, though ↵Michael DeHaan2007-02-121-8/+9
| | | | for some reason they are None. Make sense? Good :)
* merge with myselfMichael DeHaan2007-02-091-2/+5
|\
| * Added an optional --breed parameter for "distro add" that supports usage of ↵Michael DeHaan2007-02-091-2/+5
| | | | | | | | a SuSE answer file (needs testing) and can make way for other distros. koan needs to detect when it's been given a non-redhat based distro and not do anything, though cobbler PXE should work in both cases.
* | Account for potential of per-system kickstart metadata variance.Michael DeHaan2007-02-021-26/+29
|/
* Removing a few other glitches related to the nosync code.Michael DeHaan2007-02-021-14/+18
|
* Minor fixes to sync flag stuff.Michael DeHaan2007-02-021-2/+2
|
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-150/+121
| | | | | | which is enabled by default in /var/lib/cobbler/settings. Users of the API will need to use the with_copy=True and with_delete=True parameters to initiate this behavior. As mentioned in the previous commit, sync() still needs to be run at least once prior to any add commands using this feature.
* Added skeleton file (with notes) of how to do partial sync operationsMichael DeHaan2007-02-011-1/+13
| | | | with add/remove command.
* The fix for the very odd mod_python chokes on older Apache installs with ↵Michael DeHaan2007-01-251-9/+33
| | | | | | | | seemingly no explanation bug -- kickstart tracking will only use syslog for older cobbler servers, and will use both on newer machines (FC5+). Also, convert the mini domU template to use cobbler templating where appropriate.
* Added syslog watcher script.mdehaan@mdehaan.rdu.redhat.com2007-01-221-0/+4
| | | | Packaging + parsing still TBA.
* Remove stray argument.Michael DeHaan2007-01-031-1/+1
|
* Upgrade httpd config for upgrades getting 0.3.6 so they can use kickstartMichael DeHaan2007-01-031-7/+9
| | | | | tracking and the watcher script. Presence of cobbler_track URL's in the httpd config are an indication of 0.3.6 or higher level cobbler.
* Update URL's used in profiles so they get tracked, but profile lists (via ↵Michael DeHaan2007-01-031-5/+6
| | | | koan) and updates won't.
* Back out start changes, as start can be determined by first file request if ↵Michael DeHaan2007-01-031-9/+4
| | | | we use a different URL alias.
* Add kickstart pre-signaling to indicate starts in addition to stops.mdehaan@mdehaan.rdu.redhat.com2007-01-031-6/+11
|
* Track all image files so we can see the stage2 xfer.Michael DeHaan2007-01-031-1/+1
|
* Add FollowSymLinks option to httpd config, so that I can link to testMichael DeHaan2007-01-031-1/+1
| | | | | mirrors in /var/www/cobbler/ks_mirror without storing them there. Also for enterprising admins, ks_mirror can now be a symlink to another partition.
* Log when kickstart files are requested.mdehaan@mdehaan.rdu.redhat.com2007-01-021-0/+1
|
* Renaming the kickstart_done portion and also not serving up the watcher's ↵mdehaan@mdehaan.rdu.redhat.com2007-01-021-0/+9
| | | | source.
* Add additional Apache configuration to /etc/httpd/conf.d/cobblerMichael DeHaan2007-01-021-0/+8
|
* Don't delete python files placed in /var/www/cobbler.Michael DeHaan2007-01-021-1/+2
|
* Add code to minimize times when httpd is restarted during cobbler sync, plus ↵Michael DeHaan2006-12-211-8/+35
| | | | changelog cleanup.
* Hack to deal with not caching SSH known hosts values.mdehaan@mdehaan.rdu.redhat.com2006-12-201-1/+2
|
* Keep repo representation as strings.mdehaan@mdehaan.rdu.redhat.com2006-12-201-4/+2
| | | | | Also, add trailing / to rsync URL's to always to prevent user mistakes, which allows us to know where the repomd data files are.
* Changelog, + fix wget arguments for repo install.mdehaan@mdehaan.rdu.redhat.com2006-12-201-1/+1
|
* Rsync mirrors shouldn't use SSH.Michael DeHaan2006-12-201-2/+2
|
* (1) Fixing apparent path creation problem, which might not be a problem.mdehaan@mdehaan.rdu.redhat.com2006-12-181-0/+1
| | | | | (2) Undocumenting dryrun, since it doesn't really need to exist as the output data isn't that useful as it doesn't offer full coverage (that, and it's unmaintained). The orphan scrub operation ("cobbler clobber"?) may get some of this functionality.
* Typo.mdehaan@mdehaan.rdu.redhat.com2006-12-181-2/+2
|
* Ensure repo type is converted to a list if not already a list.Michael DeHaan2006-12-181-2/+6
|
* Remaining parts of integrating yum.repos.d file configuration with repo ↵Michael DeHaan2006-12-131-2/+4
| | | | mirroring.
* Adding createrepo calls to "cobbler reposync" ... working on auto-generating ↵Michael DeHaan2006-12-131-0/+14
| | | | | | yum configs and allowing them to be installable for mirrored repos.
* Fix mirror URLMichael DeHaan2006-12-121-1/+1
|
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-2/+21
|
* Minor fix to /tftpboot codeMichael DeHaan2006-11-141-4/+6
|
* During "cobbler sync" only delete certain directories in /tftpboot to ↵Michael DeHaan2006-11-141-8/+11
| | | | | | preserve /tftpboot for other potential uses.
* Slight tweak to dlutter's upgrade to the default pxe behavior -- use the ↵Michael DeHaan2006-10-301-2/+8
| | | | default.pxe file unless a system has been provided named default -- so this allows "local boot" as the default behavior but allows setting boot-to-profile as a global policy if someone wants to do that.
* Add support for default PXE boots via /etc/cobbler/default.pxe; wrapDavid Lutterkort2006-10-271-2/+21
| | | | | service reloads/restarts so they don't happen in dryrun mode; allow '-n' as an alias for '--dryrun' when syncing.
* Merge 247:06e34f3b1f36David Lutterkort2006-10-261-2/+2
|
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-36/+17
|
* Bumping rev for no-Cheetah build.Michael DeHaan2006-10-171-1/+1
|
* Removing Cheetah to simplify deps, also don't delete the localmirror on sync ↵Michael DeHaan2006-10-171-15/+7
| | | | (that's bad!).
* More pychecker.Michael DeHaan2006-10-161-4/+4
|
* Pychecker.Michael DeHaan2006-10-161-1/+1
|
* Trailing whitespace.Michael DeHaan2006-10-161-14/+14
|