summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix for mkdir invocation now that we no longer own the tftp directories in ↵Michael DeHaan2008-06-091-2/+2
| | | | the RPM.
* Do not own tftpboot, but create subdirs as needed automatically.Michael DeHaan2008-05-291-0/+7
|
* Various DNS/DHCP work.Michael DeHaan2008-05-021-7/+7
|
* Working on moving DNS/DHCP management to cobbler/modules (uses modules.conf)Michael DeHaan2008-05-021-11/+7
| | | | In progress.
* Adjusting the dhcp patch some, prior to moving it all into modules/Michael DeHaan2008-05-021-1/+1
|
* Apply John Eckersberg's patch for BIND management.Michael DeHaan2008-05-021-0/+4
|
* Abstract out sync code into it's constituent parts, plus some packaging ↵Michael DeHaan2008-04-181-477/+18
| | | | changes that I left out earlier.
* Kickstarts are now dynamically generated by mod_python, CGI's now fallMichael DeHaan2008-04-181-357/+8
| | | | under mod_python, kickstart templating code now moved out of sync function.
* Replaced the existing cobbler pre/post install triggers system with a much ↵Michael DeHaan2008-04-151-19/+37
| | | | more flexible model that (for each system) passes in the following. First arg: the word "system" or "profile", Second arg: the name of the said system or profile, Third: the MAC if available, Fourth: the IP. This is all logged by a default "status" trigger to /var/log/cobbler/install.log, for being read by the soon-to-be-revamped cobbler check. The check system logs all of this in order, followed by the word "start" or "stop", followed by the number of seconds since Epoch.
* Now possible to override snippets on a per-profile or per-system basis, as ↵Michael DeHaan2008-04-111-213/+46
| | | | discussed on the mailing list for usage for doing disk/package config, etc
* Two things -- (A) remove rhpl dep as we aren't using it and we want to useMichael DeHaan2008-04-091-1/+1
| | | | | more standard xlat for other distros potentially, (B) fix the kerb module some more.
* Apply iranzo's memtest patchMichael DeHaan2008-04-091-2/+51
|
* Add a --owner to all the objects, plus associated API calls and backend ↵Michael DeHaan2008-03-261-11/+12
| | | | | | | | stuff, for use with the (pending real soon now) authz_ownership module. Also updated docs. Incidentally, self.settings.tftpboot is now utils.tftpboot_location() -- which is required because tftpboot moves around. Previously this was masked to still look like a settings variable but I decided to remove the hack. All code using that location has been updated appropriately.
* Apply patch to make disabled repos (using new --yumopts feature) not be used ↵Michael DeHaan2008-03-171-3/+7
| | | | during install.
* Adding patch to send hostnameMichael DeHaan2008-03-121-0/+2
|
* Added in a possible workaround for a user problem with source_repos in an ↵Michael DeHaan2008-02-131-0/+5
| | | | upgrade scenario (testing needed).
* Keep leading newline from appearing in template files.Michael DeHaan2008-01-221-0/+4
|
* Added http_port parameter to settings so Apache can run on ports other than 80.Michael DeHaan2008-01-101-9/+8
|
* Rename some templates, remove proxy logic that is not necc. for new performanceMichael DeHaan2007-12-201-10/+7
| | | | plans, remove watcher.py reference
* -b option to wget isn't available in busybox, and we don't need it, so don't ↵Michael DeHaan2007-12-201-3/+3
| | | | use it.
* The repo management code generates some things on a per-profile basis whichMichael DeHaan2007-12-181-2/+2
| | | | | should be generated on a per-system basis to support --server-override correctly. This is a fix.
* Performance tweaking and benchmarks.Michael DeHaan2007-12-121-2/+5
|
* Lots of logging improvements, keep sync from blitzing the WebUIMichael DeHaan2007-12-061-1/+1
|
* Work on making the default service authenticator grok Apache htdigest files.Michael DeHaan2007-12-051-0/+1
|
* Slight changes to post install triggers patch, namely adding some underscores.Michael DeHaan2007-11-291-2/+2
|
* Initial application of Tim V's patch to enable post install triggers.Michael DeHaan2007-11-291-1/+5
|
* Quote wget args to avoid creating stray files.Michael DeHaan2007-11-291-4/+4
|
* Changes to make "cobbler ___ report [___]" and "cobbler ___ list" work like ↵Michael DeHaan2007-11-271-0/+1
| | | | they used to, which means adding a few subcommands, abstracting away the list logic, and writing some minor code to make the trailing names look like --name=x to please optparse.
* Detect when the NFS path given by the user is missing the colon, and warn ↵Michael DeHaan2007-11-261-1/+4
| | | | | | them before the import. Also warn users with existing configurations during the cobbler sync, rather than showing the generic traceback.
* Fixes baseurls used in repo setup. For instance, if running RHEL5.1, the ↵Michael DeHaan2007-11-131-8/+22
| | | | | | | kickstart base urls in 0.6.3 would be incorrect so only core packages could be used in the kickstart if using $yum_repo_stanza.
* Fix the part that configures yum on the installed machines/etc for when ↵Michael DeHaan2007-11-091-5/+6
| | | | there is only one yum repo as part of the distro.
* 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.