From 3e6884ac97bb9556794bad98ee22d1d6444ded61 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 21 Sep 2017 15:14:07 +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: If96de1416714490477ce03dbdf7f33ee1e78de87 Closes-Bug: #1718356 --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index 99c3b57ea9..74647552d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,10 @@ classifier = Programming Language :: Python :: 3.5 [files] +data_files = + etc/magnum = + etc/magnum/api-paste.ini + etc/magnum/policy.json packages = magnum