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: I4c42caf57f3bb27f92e045eb63b7580789402207
Closes-Bug: #1718356
This commit is contained in:
junboli 2017-09-25 09:35:32 +08:00 committed by junbo.li
parent 56ca6db3b4
commit ab8917ec9a
1 changed files with 7 additions and 0 deletions

View File

@ -22,9 +22,16 @@ setup-hooks =
pbr.hooks.setup_hook
[files]
data_files =
etc/manila =
etc/manila/api-paste.ini
etc/manila/policy.json
etc/manila/rootwrap.conf
etc/manila/rootwrap.d = etc/manila/rootwrap.d/*
packages =
manila
manila_tempest_tests
[entry_points]
console_scripts =
manila-all = manila.cmd.all:main