Comment 10 for bug 1696830

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Reviewed: https://review.openstack.org/474212
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=21e70e28b3015c1619dacfad8a2218b09e8109ec
Submitter: Jenkins
Branch: master

commit 21e70e28b3015c1619dacfad8a2218b09e8109ec
Author: Corey Bryant <email address hidden>
Date: Wed Jun 14 09:57:23 2017 -0400

    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