summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
Commit message (Collapse)AuthorAgeFilesLines
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-50/+18
| | | | | | | 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
|
* This commit overhauls the main cobbler CLI module and adds support forMichael DeHaan2007-04-201-7/+12
| | | | | | | | | | | | object renaming, copying, and editing -- previously only addition and removal were supported. This frees uses (hopefully) from the need to hack YAML and risk damaging their configurations by rendering the config unparseable. It also makes "cobbler list" print out a simple tree representation that shows the association between objects. This also relaxes the requirements for what constitutes a kernel and initrd filename, just in case they are named something different. They still have to exist.
* Store repo information as a list. This unbreaks --repos on "profile add"Michael DeHaan2007-03-281-1/+1
|
* This is 0.4.5Michael DeHaan2007-03-231-22/+0
|
* Tabs are evil.Michael DeHaan2007-03-021-1/+1
|
* Fixes to import tree URL's and repo parameter splitting, thanks to ↵Michael DeHaan2007-03-021-2/+5
| | | | et-mgmt-tools list folks for pointing these out.
* More work on PXE menus. Getting there, just need timeout logic to work.Michael DeHaan2007-02-151-8/+1
|
* Working on adding pxemenu support.Michael DeHaan2007-02-141-2/+11
|
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-3/+17
| | | | | | | (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-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.