Add /etc/solar/config.yaml as first file in config

Change-Id: Id11a82593b4ca488cef7113ed924bd4b1fb0e14b
Closes-bug: #1552629
This commit is contained in:
Jedrzej Nowak 2016-03-03 10:47:06 +01:00
parent dae395fc2e
commit 6a794156f5

View File

@ -54,6 +54,7 @@ def _lookup_vals(setter, config, prefix=None):
def from_configs(): def from_configs():
paths = [ paths = [
'/etc/solar/solar.yaml',
os.getenv('SOLAR_CONFIG', os.path.join(CWD, '.config')), os.getenv('SOLAR_CONFIG', os.path.join(CWD, '.config')),
os.getenv('SOLAR_CONFIG_OVERRIDE', None), os.getenv('SOLAR_CONFIG_OVERRIDE', None),
os.path.join(CWD, '.config.override') os.path.join(CWD, '.config.override')