[openstack-dev] Moving nova.conf compute driver options from [DEFAULT] to [DRIVER_NAME]
Thomas Goirand
zigo at debian.org
Mon Feb 18 18:07:51 UTC 2013
On 02/15/2013 09:17 PM, Endre Karlson wrote:
> Sections are really nice if you have 1 config file with different things
> that use the same option.
>
> As in with Moniker we have a for example different Backends which are
> the ways we handle DNS servers, some of these use different
> "database_connection" settings for example. We also have others but it's
> just to demonstrate the value of sections vs everything in DEFAULT.
>
> See it here:
> https://github.com/stackforge/moniker/blob/master/etc/moniker/moniker.conf.sample
>
> Endre
I have absolutely no doubt it is nice.
However, I have also absolutely no doubt it's going to be a real
nightmare for anyone doing the packaging (eg: someone like me), and who
will have to write script to migrate options moving around.
I would suggest that anyone implementing such change *MUST* also write a
configuration maintenance script, so that upgrades are smooth.
At least, if this really have to be done, please do document the change
correctly for every single directive (eg: directive A moves from
[DEFAULT] to [X]), and also document from which release to which release
of which package.
Cheers,
Thomas
More information about the OpenStack-dev
mailing list