Browse Source

Add include configuration

tags/v0.2.0
a.genus 9 years ago
parent
commit
2dad575a27
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      syslog_ng/files/syslog-ng.conf

+ 5
- 0
syslog_ng/files/syslog-ng.conf View File

@@ -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) };

Loading…
Cancel
Save