[openstack-dev] [all] Deprecated options in sample configs?
matt at mattfischer.com
Tue May 17 18:36:02 UTC 2016
On Tue, May 17, 2016 at 12:25 PM, Andrew Laski <andrew at lascii.com> wrote:
> I was in a discussion earlier about discouraging deployers from using
> deprecated options and the question came up about why we put deprecated
> options into the sample files generated in the various projects. So, why
> do we do that?
> I view the sample file as a reference to be used when setting up a
> service for the first time, or when looking to configure something for
> the first time. In neither of those cases do I see a benefit to
> advertising options that are marked deprecated.
> Is there some other case I'm not considering here? And how does everyone
> feel about modifying the sample file generation to exclude options which
> are marked with "deprecated_for_removal"?
Can you clarify what you mean by having them? The way they are now is great
for deployers I think and people (like me) who work on things like puppet
and need to update options sometimes. For example, I like this way, example
# Deprecated group/name - [DEFAULT]/log_config
#log_config_append = <None>
Are you proposing removing that top line?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev