From 887f4b147e7340bea3acbbdb41c5e816f5f5e608 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 21 Sep 2017 14:02:21 +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: Idbc616e9ca23b1b7187f39a1e157f56862851f6c Closes-Bug: #1718356 --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 6a519e39808..23c21d49ffc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,12 @@ setup-hooks = pbr.hooks.setup_hook [files] +data_files = + etc/cinder = + etc/cinder/api-paste.ini + etc/cinder/policy.json + etc/cinder/rootwrap.conf + etc/cinder/rootwrap.d = etc/cinder/rootwrap.d/* packages = cinder