summaryrefslogtreecommitdiffstats
path: root/cobbler/action_litesync.py
Commit message (Collapse)AuthorAgeFilesLines
* Various DNS/DHCP work.Michael DeHaan2008-05-021-4/+6
|
* Add some missing files and do some more work on dns/dhcp refactoringMichael DeHaan2008-05-021-2/+2
|
* Working on moving DNS/DHCP management to cobbler/modules (uses modules.conf)Michael DeHaan2008-05-021-3/+21
| | | | In progress.
* Abstract out sync code into it's constituent parts, plus some packaging ↵Michael DeHaan2008-04-181-7/+7
| | | | changes that I left out earlier.
* Fix some things found by the tests and also update the testsMichael DeHaan2008-04-181-9/+1
| | | | to not look for static files
* Kickstarts are now dynamically generated by mod_python, CGI's now fallMichael DeHaan2008-04-181-12/+1
| | | | under mod_python, kickstart templating code now moved out of sync function.
* Now possible to override snippets on a per-profile or per-system basis, as ↵Michael DeHaan2008-04-111-10/+10
| | | | 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.
* Add a --owner to all the objects, plus associated API calls and backend ↵Michael DeHaan2008-03-261-3/+5
| | | | | | | | 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.
* Recursive deletes are now possible with --recursive. Web UI still needs to ↵Michael DeHaan2008-01-311-0/+11
| | | | take advantage of this.
* Performance tweaking and benchmarks.Michael DeHaan2007-12-121-1/+7
|
* Work on getting the repos to be templated, largely complete, pending more ↵Michael DeHaan2007-11-021-4/+4
| | | | testing.
* In the process of making all repositories templates so we can apply the ↵Michael DeHaan2007-11-021-1/+5
| | | | | | | 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.
* More work to ensure interfaces remain strings, even though they look a lot ↵Michael DeHaan2007-10-091-3/+1
| | | | like numbers presently...
* Storing NICs in a hash for easier access + some refactoring + modifications ↵Michael DeHaan2007-10-091-5/+5
| | | | to the find function.
* More work on the new multi-NIC code. Largely working at this point, sync hasMichael DeHaan2007-10-081-3/+6
| | | | | been updated, and backwards compatibility (upgrades) have been tested. Koan still has to be modified and tested, and templating still needs to be tested.
* In process of making NICs seperate data structures in cobbler, which ↵Michael DeHaan2007-10-081-0/+2
| | | | | | | requires seperate accessors and templating. This is all to allow multiple NICs in koan. Stil needs changes in sync code and possibly other places.
* Bugfixing for deleting systems that are not named after MAC addresses.Michael DeHaan2007-08-211-5/+7
|
* Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-7/+7
| | | | | | 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.
* Use get_config_filename from utilsMichael DeHaan2007-06-221-1/+1
|
* Add code for generation of object downlinks during config parsing.Michael DeHaan2007-06-121-1/+1
| | | | | | Reasonably efficient, and allows for faster display/searching, with the ability to do arbitrary nesting for config display when we have inheritable profiles implemented.
* WIP: Allow system names to be anything, and gather mac address and IP fromMichael DeHaan2007-05-301-2/+4
| | | | | | either the inferred sytem name or the values given to --ip-address (--ip) or --mac-address (--mac). Change the action code to use this, and not create PXE entries when such info is not available.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-6/+4
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* Starting to add i18n to cobbler using rhplMichael DeHaan2007-05-251-0/+2
|
* Change cobbler code to use /etc/ethers and /var/lib/cobbler/cobbler_hostsMichael DeHaan2007-05-241-0/+2
| | | | | | | | | | | for dnsmasq, only writing minimal contents to /etc/dnsmasq.conf -- basically just tagging the systems with weird arches so they get the right bootloaders. "Cobbler sync" will only need to be run when adding the systems with the weird arches, and others should be dynamic without need to SIGHUP (/sbin/service restart) dnsmasq. In theory :) dnsmasq integration with cobbler is still rather experimental, but looks solid thus far. Have not actually tested any non-pxelinux.0 arches.
* Ongoing work for 0.4.4 -- misc tweaks/fixes, and continuation on the ↵Michael DeHaan2007-03-221-0/+2
| | | | | | | kernel-parameters-get-shorter effort as well as templating and import features. Plus some random things, like case insensitive paths and some additional argument checking.
* Adding disable_netboot option for cobbler, which can be programatically ↵Michael DeHaan2007-02-201-3/+14
| | | | | | | | exercised by API users to prevent install-loop scenarios by taking action as a result of some event in post. Also making syncless code modifications work with IA64 tftp locations.
* Fixes to work with older versions of Cheetah, small fix to system delete ↵Michael DeHaan2007-02-191-2/+2
| | | | code so it deletes the right file in kickstarts_sys.
* merge with myselfMichael DeHaan2007-02-091-1/+0
|\
| * Added an optional --breed parameter for "distro add" that supports usage of ↵Michael DeHaan2007-02-091-1/+0
| | | | | | | | 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-1/+3
|/
* Removing a few other glitches related to the nosync code.Michael DeHaan2007-02-021-0/+1
|
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-14/+34
| | | | | | 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.
* Skeleton code (currently does exactly what it used to do) for cobbler ↵Michael DeHaan2007-02-011-7/+7
| | | | | | add/remove commands that do not require running "sync". Sync will only be required when the kickstart files behind systems change, or when YAML is hand edited. This should vastly improve cobbler for use in larger systems, especially when used as a library when all control paths are known. Sync will still be required once for an initial install (just once), or whenever kickstart or YAML files are edited. It can also be run again at any time for a sanity check -- sync isn't going away.
* Added skeleton file (with notes) of how to do partial sync operationsMichael DeHaan2007-02-011-0/+93
with add/remove command.