Partha wrote:
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.
Ah, devel branch stuff. Yes, I'm not done working on func-integration. Thanks!
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..
Excellent, I should have time to check this out today/tomorrow. Not having to maintain the /usr/bin/cobbler-setup templates and the settings file we install in /etc seperately is definitely a good thing and will mimize settings drift for sure.
I am working on other parts of cobbler setup will have something tomorrow..
Great, thanks!
Partha
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler