Explorar el Código

Add include configuration

tags/v0.2.0
a.genus hace 9 años
padre
commit
2dad575a27
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      syslog_ng/files/syslog-ng.conf

+ 5
- 0
syslog_ng/files/syslog-ng.conf Ver fichero

@@ -21,6 +21,11 @@ def rule_builder(rule):

@module tfjson

% for inc in syslog_config.get('include', []):
@include ${ rule_builder(inc) }
% endfor


options {
% for rule in syslog_config.get('options', []):
${ rule_builder(rule) };

Cargando…
Cancelar
Guardar