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.

10 年之前
10 年之前
1234567891011121314151617181920
  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. 'Gentoo': {
  9. 'package': 'app-admin/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. 'RedHat': {
  15. 'package': 'syslog-ng',
  16. 'service': 'syslog-ng',
  17. 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
  18. 'syslog_ng_config_src': 'salt://syslog_ng/files/syslog-ng.conf',
  19. },
  20. }, merge=salt['pillar.get']('syslog_ng:lookup')) %}