From b0b102b8dc5ae0327f0b772c6a9aafaa5c666f87 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 21 Sep 2017 13:37:50 +0100 Subject: [PATCH] Add default configuration files to data_files In order to make it simpler to use the default configuration files when deploying services from source, the files are added to pbr's data_files section so that the files are included in the built wheels and therefore deployed with the code. Packaging and deployment tools can then more easily use the default files if they wish to. This pattern is already established with similar files for neutron and the glance metadefs as has been mentioned in the related bug report. Change-Id: Ie0eb7f16bc975de0db80a2144fd8db9e09f6317f Closes-Bug: #1718356 --- setup.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.cfg b/setup.cfg index de1257869d..d06b9f6d47 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,16 @@ classifier = [files] data_files = + etc/glance = + etc/glance-api.conf + etc/glance-cache.conf + etc/glance-manage.conf + etc/glance-registry.conf + etc/glance-scrubber.conf + etc/glance-api-paste.ini + etc/glance-registry-paste.ini + etc/policy.json + etc/rootwrap.conf etc/glance/metadefs = etc/metadefs/* packages = glance