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
This commit is contained in:
Jesse Pretorius 2017-09-21 14:57:51 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 7cd1fa139c
commit 171f6a033c

View File

@ -23,6 +23,11 @@ setup-hooks =
pbr.hooks.setup_hook pbr.hooks.setup_hook
[files] [files]
data_files =
etc/nova =
etc/nova/api-paste.ini
etc/nova/rootwrap.conf
etc/nova/rootwrap.d = etc/nova/rootwrap.d/*
packages = packages =
nova nova