From c20e61d04221695bfd316417254649733e7ae692 Mon Sep 17 00:00:00 2001 From: Nguyen Van Trung Date: Wed, 21 Mar 2018 14:40:21 +0700 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: I81b5c00ace7b6d5fab4f982f403149a87b3afbd0 Closes-Bug: #1718356 --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 155ef04d..c0198b23 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,12 @@ classifier = [files] packages = karbor +data_files = + etc/karbor = + etc/karbor/api-paste.ini + etc/karbor/karbor.conf + etc/karbor/policy.json + etc/karbor/providers.d = /etc/karbor/providers.d/* [entry_points] console_scripts =