From 0bfb401c617e777ae7336490b84aee97be647375 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 21 Sep 2017 15:23:06 +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, designate and glance as has been mentioned in the related bug report. Change-Id: Iae987bdae55b75143f192f9a642cf1ff564c62b6 Closes-Bug: #1718356 --- setup.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index e564010..4e0712b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,11 @@ packages = sahara data_files = - share/sahara = etc/sahara/* + etc/sahara = + etc/sahara/api-paste.ini + etc/sahara/policy.json + etc/sahara/rootwrap.conf + etc/sahara/rootwrap.d = etc/sahara/rootwrap.d/* [entry_points] console_scripts =