Hey Michael,
I modified setup.py to automatically generate modules.conf and
settings file and dump it in the right place for the rpm build to pick
it up. I tested em on the base dir and they seemed to work ok .. Only
downside was that I was not able to get a proper rpm built due to some
func integration issues in the spec which I didn;t have time to look
at. But the correct files got copied over in rpm-builds, so I am
assuming it works ok.. You may safely delete the modules.conf and
settings in config and use this setup.py in the future.   Basically
they use the templates in installer_templates and defulat values from
installer_templates/defaults file. Update the the templates on every
new config entry and provide a nice default in the defaults file..

I am working on other parts of cobbler setup will have something tomorrow..

Partha

Attachment: 0001-updated-setup.py-to-generate-modules.cong-and-settin.patch
Description: Binary data

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to