libsolace.settingsloader moduleΒΆ

The settingsloader searches for a libsolace.yaml file in:

  • libsolace.yaml
  • /etc/libsolace/libsolace.yaml
  • /opt/libsolace/libsolace.yaml

The environment variable: LIBSOLACE_CONFIG can also be used to specify another file. e.g

LIBSOLACE_CONFIG=”/tmp/my.yaml” ./bin/solace-provision.py ....

Examples:

>>> import libsolace.settingsloader as settings
>>> settings.CMDB_URL
'http://mydomain.com/path'