----- "Jonathan Sabo" jsabo@criminal.org wrote:
List,
I'm trying to script inserting new systems into cobbler and I wrote the below code using the cobbler api. I'm finding that it creates the system but it's not available in the webUI until I've done a service cobbler restart. Is there a way around that so it's available immediately after it's saved with out having to restart cobblerd?
I'm not 100% sure here. The python API is modifying the datafiles directly if I'm not mistaken (instead of communicating with the cobblerd process), you could try using the XMLRPC API instead. In Cobbler 2.0 I believe the command line utilities have been modified to communicate with the cobblerd process instead of using the python API directly.
See: https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc
Cheers,
Jasper