OpenStack library for config
Go to file
Corey Bryant 982cf476d0 Add snap package paths to default config dirs
With snap packaging (see snapcraft.io) the package is installed into a
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/nova/nova.conf. To override the defaults, a separate
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/etc/nova/nova.conf, or
$SNAP_COMMON/etc/nova/nova.conf.d/ can be used to override config.

This patch adds these snap directories to the default config paths where
oslo looks for config.

For more details on $SNAP and $SNAP_COMMON please refer to
https://snapcraft.io/docs/reference/env.

Change-Id: I83627e0f215382aedc7b32163e0303b39e8bccf8
Closes-Bug: 1696830
(cherry picked from commit 21e70e28b3)
2017-06-21 13:39:41 +00:00
doc/source Fix broken links 2017-01-13 08:29:38 +01:00
oslo_config Add snap package paths to default config dirs 2017-06-21 13:39:41 +00:00
releasenotes Merge "Fixing HostName and adding support for HostAddress" 2016-12-07 06:35:28 +00:00
tools Add Constraints support 2016-12-14 22:04:42 +11:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:20:49 -04:00
.gitignore Add * to .coverage in .gitignore 2016-04-12 17:19:12 +00:00
.gitreview Update .gitreview for stable/ocata 2017-01-20 19:15:16 +00:00
.testr.conf Upgrade testing to use testr. 2013-05-03 17:26:07 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:38 +00:00
LICENSE Add LICENSE file 2013-02-17 09:25:32 +00:00
README.rst Show team and repo badges on README 2016-11-25 15:26:27 +01:00
requirements.txt Updated from global requirements 2017-01-10 18:50:50 +00:00
setup.cfg Remove references to Python 3.4 2017-01-09 10:05:36 -08:00
setup.py Updated from global requirements 2015-09-17 12:15:55 +00:00
test-requirements.txt Updated from global requirements 2016-11-02 15:39:03 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/ocata 2017-01-20 19:15:16 +00:00

README.rst

Team and repository tags

image

Oslo Configuration Library

Latest Version

Downloads

The Oslo configuration API supports parsing command line arguments and .ini style configuration files.