OpenStack library for config
Go to file
Corey Bryant 21e70e28b3 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
2017-06-14 14:35:33 -04:00
doc/source Fix html_last_updated_fmt for Python3 2017-06-13 11:09:21 +08:00
oslo_config Add snap package paths to default config dirs 2017-06-14 14:35:33 -04:00
releasenotes Machine Readable Sample Config 2017-06-01 20:47:01 +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 Rename oslo-config to oslo.config. 2013-03-14 12:04:19 -07:00
.testr.conf Upgrade testing to use testr. 2013-05-03 17:26:07 -04:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 22:42:22 +08:00
HACKING.rst Optimize the link address 2017-04-08 22:42:22 +08:00
LICENSE Add LICENSE file 2013-02-17 09:25:32 +00:00
README.rst Optimize the link address 2017-04-08 22:42:22 +08:00
requirements.txt Add PyYAML as a requirement 2017-06-05 10:11:35 +02:00
setup.cfg Use Sphinx 1.5 warning-is-error 2017-03-16 15:38:35 +00:00
setup.py Updated from global requirements 2017-03-03 00:02:50 +00:00
test-requirements.txt Updated from global requirements 2017-06-02 22:05:05 +00:00
tox.ini Remove references to Python 3.4 2017-01-09 10:05:36 -08: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.