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: Iae987bdae55b75143f192f9a642cf1ff564c62b6
Closes-Bug: #1718356
This commit is contained in:
Jesse Pretorius 2017-09-21 15:23:06 +01:00
parent b7add21323
commit 0bfb401c61
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,11 @@ packages =
sahara
data_files =
share/sahara = etc/sahara/*
etc/sahara =
etc/sahara/api-paste.ini
etc/sahara/policy.json
etc/sahara/rootwrap.conf
etc/sahara/rootwrap.d = etc/sahara/rootwrap.d/*
[entry_points]
console_scripts =