Browse Source

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
changes/83/629183/1
Jesse Pretorius 4 years ago
parent
commit
0bfb401c61
  1. 6
      setup.cfg

6
setup.cfg

@ -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 =

Loading…
Cancel
Save