summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-07-04 22:30:22 -0400
committerMonty Taylor <mordred@inaugust.com>2013-07-24 15:45:53 -0700
commit761b27fee6ed0d3082d043dff2a7c61436a7aab9 (patch)
treedb3f157f85cef2693014d369487ec6211366575d /doc
parent904f79c867ac689df387f276b0a9c2afb02ddebf (diff)
downloadpbr-761b27fee6ed0d3082d043dff2a7c61436a7aab9.tar.gz
Add support for globbing in data files
Similar to the work in the packages argument, allow the specification of a directory to recursively include as part of the install. Change-Id: Ife0414af468e7fcd4fc419eafc3e19e29efcfc7b
Diffstat (limited to 'doc')
-rw-r--r--doc/source/index.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 018b800..d3761d7 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -104,6 +104,7 @@ A simple sample can be found in pbr s own setup.cfg
packages =
pbr
data_files =
+ etc/pbr = etc/*
etc/init =
pbr.packaging.conf
pbr.version.conf
@@ -151,10 +152,12 @@ namespace packages.
that contains key value pairs which specify target directory and source
file to install there. More than one source file for a directory may be
indicated with a further indented list. Source files are stripped of leading
-directories, so::
+directories. Additionally, `pbr` supports a simple file globbing syntax
+for installing entire directory structures, so::
[files]
data_files =
+ etc/pbr = etc/pbr/*
etc/neutron =
etc/api-paste.ini
etc/dhcp-agent.ini
@@ -165,6 +168,9 @@ both of which pbr will expect to find in the `etc` directory in the root of
the source tree. Additionally, `neutron.init` from that dir will be installed
in `/etc/init.d`.
+All of the files and directories located under `etc/pbr` in the source tree
+will be installed into `/etc/pbr`.
+
entry_points
------------