From 3e0fb203dbbca2718f2c3d43b0b5dfe182be7f4b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 13 Dec 2018 14:35:02 +0000 Subject: Summarize output of sample configuration generator Our sample configuration files are long. Really, really long. Make them shorter through use of the summarize option added to oslo.config years ago [1]. This turns a help text like the following: [DEFAULT] # This option helps you specify initial virtual disk to physical disk # allocation ratio. # # This is only used when initially creating the ``computes_nodes`` # table record for a given nova-compute service. # # See https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html # for more details and usage scenarios. # # Related options: # # * ``disk_allocation_ratio`` # (floating point value) # Minimum value: 0 initial_disk_allocation_ratio = 1.0 Into: [DEFAULT] # This option helps you specify initial virtual disk to physical disk # allocation ratio. For more information, refer to the documentation. # (floating point value) # Minimum value: 0 initial_disk_allocation_ratio = 1.0 Shorter, one line descriptions are kept as-is. [1] https://github.com/openstack/oslo.config/commit/2f8025b22 Change-Id: Iaa51b6a139fc9b7ffc97cd6881a9d49b29858b9b --- etc/nova/nova-config-generator.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/nova/nova-config-generator.conf b/etc/nova/nova-config-generator.conf index 4bdcbd4833..36dc32ab39 100644 --- a/etc/nova/nova-config-generator.conf +++ b/etc/nova/nova-config-generator.conf @@ -1,6 +1,7 @@ [DEFAULT] output_file = etc/nova/nova.conf.sample wrap_width = 80 +summarize = true namespace = nova.conf namespace = oslo.log namespace = oslo.messaging -- cgit v1.2.1