Vreman, Peter - Acision wrote: > > When I looked at the pxe templates I noticed the amount of files in > /etc/cobbler. > > > > Maybe we move some groups of the files to /var/lib/cobbler/xx/ > > > > Some ideas: > > *.ks /var/lib/cobbler/kickstarts (this directory already exists) > > Pxe* /var/lib/cobbler/pxe >
Generally I agree with that filesystem layout being more ideal, though I need to provide some background info. A lot of the things in Cobbler are the way there are for backwards compatibility reasons, and not to break someone's install server when someone does a "yum upgrade cobbler" and isn't aware of extra changes they have to make. These are already hand-edited by a very large number of users. I am not entirely sure of the practically or "rightness" of moving these in %post when they may be subject to configuration management. The most "user intervention required" update was cobbler 1.0, which looked for a few common errors at startup and told users they needed to move configuration files before cobbler would function again. I'd rather not do this if possible. > Power* /var/lib/cobbler/power > This can be done now as no non-development versions have edited these yet, however it's non-consistent with the above. > > > On my node this will already move 24 of 36 files out of /etc/cobbler > Ultimately, we need to ask is a cluttered /etc/cobbler that much a problem that it would warrant the extra confusion of moving these around? We do save user-state in /etc/cobbler fairly consistently and I do consider these to be configuration files not state. New kickstarts created by the WebUI do go into /var/lib/cobbler/kickstarts. > > > 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. > ------------------------------------------------------------------------ > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
