瀏覽代碼

Merge pull request #2 from omltorg/ArchLinux_support

Add ArchLinux support
tags/v0.2.0
Niels Abspoel 7 年之前
父節點
當前提交
d6d77cd8c3
共有 2 個檔案被更改,包括 15 行新增1 行删除
  1. +1
    -1
      README.rst
  2. +14
    -0
      chrony/map.jinja

+ 1
- 1
README.rst 查看文件

@@ -17,4 +17,4 @@ Installs the chrony package.

``chrony.config``
-----------------
This state manages the file ``chrony.conf`` under ``/etc`` (template found in "chrony/files"). The configuration is populated by values in "chrony/map.jinja", which are based on the package's default values (for RedHat and Debian family distributions), and are overridden by values of the same name in pillar.
This state manages the file ``chrony.conf`` under ``/etc`` (template found in "chrony/files"). The configuration is populated by values in "chrony/map.jinja", which are based on the package's default values (for RedHat, Debian and Arch family distributions), and are overridden by values of the same name in pillar.

+ 14
- 0
chrony/map.jinja 查看文件

@@ -56,6 +56,20 @@
'logchange 0.5',
],
},
'Arch': {
'package': 'chrony',
'service': 'chrony',
'config': '/etc/chrony.conf',
'config_src': 'salt://chrony/files/chrony_config',
'options': 'iburst',
'logdir': '/var/log/chrony',
'keyfile': '/etc/chrony.keys',
'driftfile': '/var/lib/chrony/drift',
'otherparams': [
'rtconutc',
'rtcsync',
],
}
},
grain='os_family',
merge=salt['pillar.get']('chrony:config'))

Loading…
取消
儲存