Saltstack Official Syslog-NG Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.jinja 540B

10 years ago
1234567891011121314
  1. {% set syslog_ng = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'package': 'syslog-ng',
  4. 'service': 'syslog-ng',
  5. 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
  6. 'syslog_ng_config_src': 'salt://syslog_ng/files/syslog-ng.conf',
  7. },
  8. 'RedHat': {
  9. 'package': 'syslog-ng',
  10. 'service': 'syslog-ng',
  11. 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
  12. 'syslog_ng_config_src': 'salt://syslog_ng/files/syslog-ng.conf',
  13. },
  14. }, merge=salt['pillar.get']('syslog_ng:lookup')) %}