| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
only authenticate
the webui, not the other cgi's.
|
|
|
|
|
|
| |
profiles/systems
data incorrectly when blending objects for cobbler/sync.
|
|
|
|
| |
also centralize configuration/loading/access some more.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
some of the
repo management, which will not work with --server-override completely in all cases (depending
on DNS) until we do some extra post magic in our action_sync stanza generaton. Ow, my brain
hurts just thinking about other people who have to read that explanation :)
|
|
|
|
|
|
| |
be backwards
compatible with older templates.
|
| |
|
|
|
|
| |
confusing Virt-Factory.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
"$mac_addressintf1". And so on
for other vars and other interfaces.
|
|
|
|
|
|
| |
use strings in the YAML
to pacify the XMLRPC bits. Plus, this is more readable.
|
|
|
|
| |
like numbers presently...
|
|
|
|
| |
XMLRPC-friendly.
|
| |
|
|
|
|
| |
to the find function.
|
|
|
|
|
| |
been updated, and backwards compatibility (upgrades) have been tested. Koan
still has to be modified and tested, and templating still needs to be tested.
|
|
|
|
|
|
|
| |
requires seperate accessors
and templating. This is all to allow multiple NICs in koan. Stil needs changes in sync
code and possibly other places.
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|