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: Ie0eb7f16bc975de0db80a2144fd8db9e09f6317f
Closes-Bug: #1718356
This commit is contained in:
Jesse Pretorius 2017-09-21 13:37:50 +01:00 committed by Jesse Pretorius (odyssey4me)
parent a6fa8d9ce7
commit b0b102b8dc
1 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,16 @@ classifier =
[files]
data_files =
etc/glance =
etc/glance-api.conf
etc/glance-cache.conf
etc/glance-manage.conf
etc/glance-registry.conf
etc/glance-scrubber.conf
etc/glance-api-paste.ini
etc/glance-registry-paste.ini
etc/policy.json
etc/rootwrap.conf
etc/glance/metadefs = etc/metadefs/*
packages =
glance