summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
Commit message (Collapse)AuthorAgeFilesLines
* Cobbler report commands are now sorted also.Michael DeHaan2006-12-211-7/+7
|
* Don't clobber the repo setting.mdehaan@mdehaan.rdu.redhat.com2006-12-201-1/+1
|
* Keep repo representation as strings.mdehaan@mdehaan.rdu.redhat.com2006-12-201-2/+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.
* Fix problem where settings of xen_ variables if not present clobber virt_ ↵Michael DeHaan2006-12-201-9/+2
| | | | variables (backwards compatibility code problem).
* Fix print code.Michael DeHaan2006-12-121-1/+1
|
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-2/+18
|
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-54/+64
|
* More pychecker.Michael DeHaan2006-10-161-2/+2
|
* Added a basic locking system to avoid multiple "sync" operations happening ↵Michael DeHaan2006-10-121-9/+9
| | | | at the same time -- not a huge risk -- but it ought to be guarded against.
* Cobbler was missing the set_xen_ram function so the CLI wasn'tMichael DeHaan2006-09-201-0/+19
| | | | usable for editing the YAML for that parameter. Fixing.
* Remove the xen_mac parameter on profile in favor of using the MAC asssigned ↵Michael DeHaan2006-09-191-22/+0
| | | | | | to the system and using koan on a per system basis.
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-121-5/+9
| | | | --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-2/+9
| | | | test where I changed a command line syntax.
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-9/+8
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-11/+11
| | | | 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-5/+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.
* More pychecker. More comments.Michael DeHaan2006-05-081-0/+2
|
* PyChecker.Michael DeHaan2006-05-081-2/+19
|
* 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/+166
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.