瀏覽代碼

refactor(pillars): dry default pillars

tags/v0.4.0
Nicolas Rodriguez 5 年之前
父節點
當前提交
2f169e26d4
共有 2 個文件被更改,包括 5 次插入16 次删除
  1. +5
    -1
      syslog_ng/defaults.yaml
  2. +0
    -15
      syslog_ng/osfamilymap.yaml

+ 5
- 1
syslog_ng/defaults.yaml 查看文件

@@ -1,4 +1,8 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
syslog_ng: {}
syslog_ng:
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

+ 0
- 15
syslog_ng/osfamilymap.yaml 查看文件

@@ -1,20 +1,5 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
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

Gentoo:
package: app-admin/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

Loading…
取消
儲存