| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
At this point I can manipulate network objects via the CLI.
Nothing intelligent is going on under the hood yet.
|
| |
|
|
|
|
| |
adds/edits/removes and syncs. To be used later by our SCM integration feature, among other things.
|
|
|
|
|
|
|
|
| |
recursive removal works as in the rest of cobbler.
Conflicts:
cobbler/collection_images.py
|
|
|
|
| |
supporting shell triggers. These execute faster and can use native API handles without reloading penalties. Unit tests still have some errors, so we're not done with this.
|
| |
|
|
|
|
| |
webapp/XMLRPC much faster.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
to change
CLI options next and update manpages.
|
| |
|
|
|
|
| |
gotchas found as a result of testing. First, test_basic.py code now uses api.py methods as opposed to lower level methods, ensuring we test what API consumers are most likely to use. Second, remote.py tests are (largely) complete and clean. In api.py and remote.py I've added a method to ensure that the API configurations are always up to date before API calls, preventing synchronization issues that previously had to be worked around. As a result of this the server.update() call is no more. The mechanism behind this remains rough and we may want to optimize things a bit later, though the API signatures around this new checking code are solid. Upgrading the internals should be possible to avoid additional reloading of the config. Ultimately we may want to teach cobbler's local API to ask cobbler's cobblerd for it's definitive copy though that is to be explored later.
|
| |
|
|
|
|
| |
on installed systems.
|
|
|
|
|
|
| |
GPLv2+ license header,
as Cobbler is GPLv2. Also finally remove serializer_shelve, which is replaced by serializer_catalog.
|
|
|
|
| |
images are generically PXE-bootable. This is relatively awesome.
|
| |
|
|
|
|
| |
do anything useful yet and other things may be broken :)
|
| |
|
| |
|
|
|
|
| |
objects to now run when they are renamed or copied. In the case of a copy, only the add triggers are re-run against the new name. In the case of rename, first the add triggers are called on the newname, then the remove triggers are called on the oldname as that is how things are implemented. In the case of renaming an object that has child objects, the child objects are updated, so the add triggers will then be called on each to notify that those objects themselves have changed, this last bit of the behavior I'm not sure if it's a good thing or not, though we can refine it if that is not desirable.
|
|
|
|
|
| |
more standard xlat for other distros potentially, (B) fix the kerb module
some more.
|
|
|
|
| |
prevention feature.
|
| |
|
|
|
|
| |
take advantage of this.
|
|
|
|
| |
make the WebUI use it for much smarter renames and copies.
|
|
|
|
| |
plans, remove watcher.py reference
|
|
|
|
|
| |
should be generated on a per-system basis to support --server-override correctly.
This is a fix.
|
| |
|
|
|
|
| |
and more usable.
|
|
|
|
| |
objects.
|
|
|
|
|
|
|
|
|
|
| |
now a trigger.
This commit adds pre/post sync triggers, for scripting of arbitrary actions. The idea is that
a cobbler user can now modify the restart-services script to rsync DHCP configurations to a remote
box and instead restart them there, for hosting DHCP on a different box. Or do anything
else that might be required. The restart-services trigger will ship in the cobbler RPM. Users
can modify it at will and it is marked as config(noreplace) so upgrades will not affect it.
|
|
|
|
|
|
| |
saving state, plus
a fix to import that keeps from creating extra yum repo entries for various distros.
|
|
|
|
| |
is just as likely at this point.
|
|
|
|
| |
to the find function.
|
|
|
|
|
|
|
|
| |
multiple NIC support
is still required. Checking kickstarts and the koan modifications are also still to go. Code
in item_system.py is due for cleanup, especially in from_datastruct, where it tries to load
the older configurations implicitly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the cobbler server has configured in yum and set them up to be mirrored
automagically.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
of find (mpd) to add some error checking, list returns, and other semi-useful
stuff. Plus tests and an optomization to allow name=foo as the only parameter
to be just as fast as before.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Reasonably efficient, and allows for faster display/searching, with the
ability to do arbitrary nesting for config display when we have inheritable
profiles implemented.
|
|
|
|
| |
triggers, plus my modifications to make them deal with return codes.
|
|
|
|
| |
case.
|
|
|
|
|
|
|
| |
translation function and run manual testing to ensure no functional errors in other
places (such as import).
cobbler_msg (strings file) has been removed.
|