|
1234567891011121314 |
- {% set syslog_ng = salt['grains.filter_by']({
- 'Debian': {
- 'package': 'syslog-ng',
- 'service': 'syslog-ng',
- 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
- 'syslog_ng_config_src': 'salt://syslog_ng/files/syslog-ng.conf',
- },
- 'RedHat': {
- 'package': 'syslog-ng',
- 'service': 'syslog-ng',
- 'syslog_ng_config': '/etc/syslog-ng/syslog-ng.conf',
- 'syslog_ng_config_src': 'salt://syslog_ng/files/syslog-ng.conf',
- },
- }, merge=salt['pillar.get']('syslog_ng:lookup')) %}
|