summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
Commit message (Collapse)AuthorAgeFilesLines
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-2/+9
| | | | | | | (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.
* Cobbler report commands are now sorted also.Michael DeHaan2006-12-211-2/+2
|
* Restriction code wrong. pxe-address is an IP or a hostname, not an IP or a MAC.Michael DeHaan2006-10-231-2/+0
|
* Trailing whitespace.Michael DeHaan2006-10-161-2/+2
|
* Import feature added (usable for things like /mnt/redhat)Michael DeHaan2006-10-131-20/+0
|
* Added a basic locking system to avoid multiple "sync" operations happening ↵Michael DeHaan2006-10-121-6/+6
| | | | at the same time -- not a huge risk -- but it ought to be guarded against.
* (1) initial work on a command to import build trees into cobbler inMichael DeHaan2006-10-111-4/+8
| | | | | a really fast, automated way (2) bundling 2.4's subprocess as sub_process (it's supposed to work) since subprocess isn't available on 2.3 and we want to support lots of 2.3 machines
* Fixes to dhcpd.conf and Itanium IA64 support as a result of lab tests.Michael DeHaan2006-10-061-0/+2
|
* --pxe-hostname should be "--pxe-address"Michael DeHaan2006-10-051-8/+7
|
* - Interim checkin while working on "enchant" featureMichael DeHaan2006-09-281-4/+4
| | | | - Fixed changelogs to include user/email
* dhcp templating for individual systemsMichael DeHaan2006-09-221-1/+11
|
* Misc fixes to IA64 syncing. Bugs still to be resolved in naming elilo.conf ↵Michael DeHaan2006-09-211-1/+1
| | | | files the right thing.
* Variable typos.Michael DeHaan2006-09-211-2/+2
|
* ia64 boot fixes as a result of testing.Michael DeHaan2006-09-211-4/+4
|
* Naming cleanup of a few variables now that we're dealing with moreMichael DeHaan2006-09-211-1/+1
| | | | than pxelinux.0 (likely elilo.efi)
* - Initial batch of changes to support (a) dhcpd.conf templating and (b)Michael DeHaan2006-09-211-0/+20
| | | | supporting alternative boot loader architectures (like Itanium).
* Remove the xen_mac parameter on profile in favor of using the MAC asssigned ↵Michael DeHaan2006-09-191-2/+2
| | | | | | to the system and using koan on a per system basis.
* Add support for PXE default directory (cobbler system add --name=default ↵Michael DeHaan2006-07-211-0/+3
| | | | ...) which would previously try to resolve into an IP. We don't want that.
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-121-1/+5
| | | | --kopts. The parameter is a space delimited list of key=value pairs, which allows the variables entered to be evaluated through Cheetah. Thus kickstarts are now Cheetah templates. All templating errors are ignored so usage of a $ in a template is still legal where it doesn't reference a variable. Error ignoring should be finer grained and this does need some tests. Currently this only works for kickstarts on filesystems, and I'm not sure what the behavior for http and nfs should be. Anyhow, fairly useful stuff.
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-0/+8
| | | | test where I changed a command line syntax.
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-5/+4
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-4/+4
| | | | all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
* Interim checkin while straightening out exceptions. The last_error bit ↵Michael DeHaan2006-05-081-4/+3
| | | | | | | reminded me of the thing I hated most about Microsoft SDK/DDK programming (that being, last_error and inconsistant error handling), so it had to go.
* PyChecker.Michael DeHaan2006-05-081-1/+1
|
* Unit tests pass again.Michael DeHaan2006-05-081-0/+7
|
* Removed trailing whitespaceMichael DeHaan2006-05-051-1/+1
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-0/+67
cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.