summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJesse Pretorius <jesse.pretorius@rackspace.co.uk>2017-09-21 14:57:51 +0100
committerJesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk>2017-09-22 11:36:56 +0000
commit10c4bf888f28db5f4ba40c16086ef5a0431233ba (patch)
tree61246bf116ae32f6559e38f8ca6e304bd88def6d /setup.cfg
parentb926a1d4df86cbd48ba2b8b371454ccef96383c7 (diff)
downloadnova-10c4bf888f28db5f4ba40c16086ef5a0431233ba.tar.gz
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: I66e6525338e06f289a20ff2cdc2d108ffd6d30b2 Closes-Bug: #1718356
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index b02cec4f37..3652cc4f76 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -23,6 +23,11 @@ setup-hooks =
pbr.hooks.setup_hook
[files]
+data_files =
+ etc/nova =
+ etc/nova/api-paste.ini
+ etc/nova/rootwrap.conf
+ etc/nova/rootwrap.d = etc/nova/rootwrap.d/*
packages =
nova