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
2016-12-14 22:04:42 +11:00
2016-04-12 17:19:12 +00:00
2013-03-14 12:04:19 -07:00
2013-05-03 17:26:07 -04:00
2017-04-08 22:42:22 +08:00
2017-04-08 22:42:22 +08:00
2013-02-17 09:25:32 +00:00
2017-04-08 22:42:22 +08:00
2017-06-05 10:11:35 +02:00
2017-03-16 15:38:35 +00:00
2017-03-03 00:02:50 +00:00
2017-01-09 10:05:36 -08:00

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.

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 2.3 MiB