Top Level Namespace
Defined Under Namespace
Modules: NetAtlas
Constant Summary collapse
- NETATLAS_CONFIG_DIR =
ENV['NETATLAS_CONFIG_DIR'] || "/etc/netatlas"
- NETATLAS_ENVIRONMENT =
ENV['NETATLAS_ENVIRONMENT'] || "development"
- CONFIG =
YAML.load(File.open(NETATLAS_CONFIG_DIR + "/netatlas.yml"))[NETATLAS_ENVIRONMENT]
- NETATLAS_LOG_DIR =
ENV['NETATLAS_LOG_DIR'] || ENV['HOME'] + "/.log"
- NAGIOS_CONFIG =
YAML.load(File.open(NETATLAS_CONFIG_DIR + "/nagios.yml"))[NETATLAS_ENVIRONMENT]