[openstack-dev] [all] sample config files should be ignored in git...
Dirk Müller
dirk at dmllr.de
Thu Mar 27 09:21:01 UTC 2014
Hi,
>> When I was an operator, I regularly referred to the sample config files
>> in the git repository.
The sample config files in git repository are tremendeously useful for
any operator and OpenStack Packager. Having them generateable with a
tox line is very cumbersome.
As a minimum those config files should be part of the sdist tarball
(aka generated during sdist time).
> Do they need to be in the git repo?
IMHO yes, they should go alongside the code change.
> Note that because libraries now export config options (which is the
> root of this problem!) you cannot ever know from the source all the
> options for a service - you *must* know the library versions you are
> running, to interrogate them for their options.
The problem is that we hammer in all the libraries configuration
option into the main config file. if we'd have "include" support and
we'd just include the libraries config options that are generated as a
separate file (and possibly autogenerated) this problem would not
occur, and it would avoid the gate breakages.
Thanks,
Dirk
More information about the OpenStack-dev
mailing list