[Patch] use http_port and xmlrpc_port from settings file
by Vreman, Peter
The new cobbler CLI and Django WebUI doesn't use the http_port and xmlrpc_port values configured in /etc/cobbler/settings anymore.
I have added support to both cli.py and views.py to read the /etc/cobbler/settings from the local filesystem to retrieve the values for server and http_port for the cobbler_api and the xmlrpc_port for the xmlrpc connection.
Patch is available at http://github.com/pvreman/cobbler/commit/f97812b90c4c3cd009ef5935809db91f...
Regards,
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
14 years, 3 months
FW: [PATCH] Logging and cli error patches for master
by Vreman, Peter
I still have the patches below for cobbler. Can the patches be integrated upstream?
The Koan and CLI error handling patches are real issues that break scripts and KVM virsh console support.
Regards,
Peter
From: cobbler-devel-bounces(a)lists.fedorahosted.org [mailto:cobbler-devel-bounces@lists.fedorahosted.org] On Behalf Of Vreman, Peter
Sent: woensdag 21 oktober 2009 8:01
To: cobbler development list
Subject: [PATCH] Logging and cli error patches for master
I have the following list of patches for master available at http://github.com/pvreman/cobbler/commits/master/.
Koan:
+ afda8a88249ed3a124651a25fc52e9f78d1ab414 update string_to_hash and hash_to_string from cobblerd to support multiple kernel options with the same name
Logging improvements for background tasks:
+ 90c00b3abba0d15a2e6857469ea24fad00f95b0b make sync actions always verbose, before the copy actions were only logged without context
+ 1a09c11eb2c546d53c366b26ab4acce96d3bc314 logging for creation of dhcp and dns configurations
+ 9867963dc8eb11052ec3521c5baf18803fe826e9 log creation of pxe files
+ 9ee3887130fe2beb49d332a3420166398595242d log updates, add criteria to find_items and make more debug
CLI error handling:
+ e9d0cf90df35dd351c954c097a28ddf752edeb6b exit with error code 1 if command fails
+ 92ba9bb9c5594223083029cc8676b5c20d826c33 raise error in blended data if profile or system not found
WebUI redundant code:
+ efbc6519b34e9b9c95a9298d68fbf340b0a82c1d remove duplicate code
Regards,
Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
14 years, 3 months
MadHatter: Using Cobbler for advanced configuration management
by Kelsey Hightower
Working on a new Cobbler module: MadHatter.
Snippet from the GitHub Wiki:
MadHatter aims to create an advanced configuration management module
for Cobbler with a feature set similar to Puppet, the open source CMS
from Reductive Labs. Unlike Puppet, MadHatter will forgo a
configuration language and instead opt for doing things the “Cobbler”
way.
Is this a fork?
No. MadHatter is a Cobbler module and patch set.
The goal is to reuse the existing Cobbler framework where possible. As
a Cobbler module, MadHatter will leverage the hooks and integration
points used by other external configuration management tools.
Proposed features:
- Ability to create and edit a module or class using the Cobbler API,
command line, or Web interface.
- Explicit resource execution order
- Possible new client: Coan - Configuration Over a Network
If you would like more details, please visit:
http://wiki.github.com/khightower/madhatter/
14 years, 3 months
trac 516 - web interface repository selection in profile settings is not saved
by Gordon Child
Hello all,
Fixed bug 516 from trac... I didn't see a fix anywhere out there.
cpforbes originally started on this; thought I'd finish it.
git://github.com/gordonchil/cobbler.git
the branch it's under is 'trac516'
I added this to web/cobbler_web/views.py - generic_save
# Multiselect fields are handled differently
if field["html_element"] == "multiselect":
values=request.POST.getlist(field['name'])
value=[]
for single_value in values:
if single_value != "<<None>>":
value.insert(0,single_value)
14 years, 3 months