summaryrefslogtreecommitdiffstats
path: root/cobbler/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Further work on interchangeable backends. Rather than keeping the config fileroot2007-09-051-21/+15
| | | | | | | | | | | | | | format choice in settings (which is something of a Catch-22 situation), this may end up being a config file setting in /etc. Module loaders work and still default to yaml, though I've coded up a sample simple_json serializer that will be functional if users install simple-json. This is just demoware, JSON isn't replacing yaml and is (at least in this case) not as readable because of the way it escapes slashes. This is primarily to enable future work to integrate with other config file formats, such as possibly getting some of the system info from LDAP. Possibly.
* Working on pluggable serializers.root2007-09-051-21/+23
|
* Fix bug in repo evaluation with inherited subprofiles.root2007-08-271-5/+5
|
* Keep track of depth of cobbler objects such that a pseudo-topological sortMichael DeHaan2007-06-131-3/+11
| | | | | | | | | | | | | can be done at deserialization time. The result of this is that full graph listing information can be reconstructed at time of config loading (up and down links), while only having to store the up links. This preserves the existing config file format while allowing for arbitrary inheritance and a reasonable measure of hand-editability. If changing profile relationships by hand, the cached depth info may be wrong, so some way to automatically resolve this could potentially be doable, but it's such a distinct corner case that I don't deem it neccessary at this point.
* Lots of work towards profile inheritance. This works in the UI now, withMichael DeHaan2007-06-131-8/+8
| | | | | | | | | | | | | | | | | | | some rough edges (like listing the tree). cobbler profile add --name=profile2 --inherit=profile1 --otherparameters=... cobbler profile edit --name=profile2 --stillmoreparamters=... Data is interleaved for hashes, combined for arrays, and overriden for scalar values. This was heavily inspired by Will-It-Blend, and in this implementation it all blends. Implementation notes -- Updating a parent profile doesn't apply changes to the child objects until a sync, so this seems like a good upgrade for a future commit. Also, the children mapping that makes this possible needs some tweaks because they may load out of order, in which case "cobbler list" can't render a full tree. There are various approaches to deal with this and it should be a (relatively) easy change.
* Starting to add i18n to cobbler using rhplMichael DeHaan2007-05-251-0/+3
|
* Various improvements to make the API more usable and cobbler a bitMichael DeHaan2007-04-191-1/+15
| | | | | | | | more efficient. Make both the Config and BootAPI objects Borgs, to prevent duplicate configuration records. Also do not implicitly serialize configuration objects unless the with_copy parameter is used.
* Implemented trigger support for tying in with other software.Michael DeHaan2007-04-161-1/+2
|
* Working on adding pxemenu support.Michael DeHaan2007-02-141-0/+3
|
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-0/+16
|
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-1/+9
| | | | test where I changed a command line syntax.
* More pychecker. More comments.Michael DeHaan2006-05-081-3/+11
|
* PyChecker.Michael DeHaan2006-05-081-2/+40
|
* Unit tests pass again.Michael DeHaan2006-05-081-0/+3
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-12/+19
| | | | 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.
* Interim commitMichael DeHaan2006-05-051-0/+65
|
* Interim commit while refactoring. This breaks lots of stuff.Michael DeHaan2006-05-051-209/+0
|
* Weakref additions prior to refactoringMichael DeHaan2006-05-051-1/+2
|
* Make /etc/cobbler.conf be packaged instead of being created, proper handling ↵Michael DeHaan2006-05-051-18/+7
| | | | of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
* Switch to syck since Mihai has it packaged now. Check for syck brokenness ↵Michael DeHaan2006-05-041-5/+5
| | | | in main().
* Merged Michael's changes with mineMihai Ibanescu2006-05-041-18/+24
|
* Misc cobbler cleanup. Switched to the new yaml parser (it's uglier,Michael DeHaan2006-05-031-63/+65
| | | | | need to do something about that). Added some tests. Modified test code so it never clobbers a working install.
* Interim commit during packagingMichael DeHaan2006-05-031-0/+211