trigger.conf — Configuration & Settings module¶
Settings and configuration for Trigger.
Values will be read from the module specified by the
environment variable, and then from trigger.conf.global_settings; see the
global settings file for a list of all possible variables.
TRIGGER_SETTINGS is not set, it will attempt to load from
/etc/trigger/settings.py and complains if it can’t. The primary public
interface for this module is the
settings variable, which is a module
object containing the variables found in
>>> from trigger.conf import settings >>> settings.FIREWALL_DIR '/data/firewalls' >>> settings.REDIS_HOST '127.0.0.1'
Emulates settings and returns empty strings on attribute gets.
Common logic for settings whether set by a module or by the user.