Sfoglia il codice sorgente

Merge pull request #33 from alxwr/freebsd-support

master
Nicolas Rodriguez 9 mesi fa
parent
commit
2c13f3df27
Nessun account collegato all'indirizzo email del committer
3 ha cambiato i file con 7 aggiunte e 2 eliminazioni
  1. +1
    -1
      syslog_ng/config/file.sls
  2. +1
    -0
      syslog_ng/defaults.yaml
  3. +5
    -1
      syslog_ng/osfamilymap.yaml

+ 1
- 1
syslog_ng/config/file.sls Vedi File

@@ -19,7 +19,7 @@ syslog_ng/config/install:
}}
- template: jinja
- user: root
- group: root
- group: {{ syslog_ng.rootgroup }}
- mode: 644
- require:
- sls: {{ sls_package_install }}

+ 1
- 0
syslog_ng/defaults.yaml Vedi File

@@ -2,6 +2,7 @@
# vim: ft=yaml
---
syslog_ng:
rootgroup: root
package: syslog-ng
service: syslog-ng
syslog_ng_config: /etc/syslog-ng/syslog-ng.conf

+ 5
- 1
syslog_ng/osfamilymap.yaml Vedi File

@@ -3,7 +3,11 @@
---
Gentoo:
package: app-admin/syslog-ng
service: {{ 'syslog-ng@default' if grains.init == 'systemd' else 'syslog-ng' }}
service: {{ 'syslog-ng@default' if grains.get('init', 'unknown') == 'systemd' else 'syslog-ng' }}

Arch:
service: syslog-ng@default.service

FreeBSD:
rootgroup: wheel
syslog_ng_config: /usr/local/etc/syslog-ng/syslog-ng.conf

Loading…
Annulla
Salva