| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
inheritance.
|
|
|
|
|
|
|
| |
up the graph, in ksmeta and
possibly kopts. Also added some code to check to make sure an object of the wrong type never gets
added to the wrong collection.
|
| |
|
|
|
|
| |
Also fixing one error in the utils module.
|
|
|
|
| |
Bumped revision to 0.5.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support
of inheritance hierarchies, as well as making more data available to koan and the kickstart
templating engine.
With this change, any variable in the tree (anywhere), is now accessible via Cheetah -- and
the same goes for koan XMLRPC.
Unit tests pass and looks okay on the outside, though this still warrants extended testing
to verify no unintended behaviors have changed.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
translation function and run manual testing to ensure no functional errors in other
places (such as import).
cobbler_msg (strings file) has been removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
applies to "cobbler reposync" as well as "cobbler import".
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
bootloader profiles based on MAC addresses as does syslinux. This workaround uses the pxe-address field, thus requiring this field for IA64 until the issue can be resolved in elilo.
|
| |
|
|
|
|
| |
than pxelinux.0 (likely elilo.efi)
|
|
|
|
| |
and build numbers, ease the cobbler restriction that all images must contain version and build numbers.
|
| |
|
| |
|
|
|
|
| |
test where I changed a command line syntax.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|