Kaynağa Gözat

Merge pull request #2 from omltorg/ArchLinux_support

Add ArchLinux support
fixconfig
Niels Abspoel 7 yıl önce
ebeveyn
işleme
d6d77cd8c3
2 değiştirilmiş dosya ile 15 ekleme ve 1 silme
  1. +1
    -1
      README.rst
  2. +14
    -0
      chrony/map.jinja

+ 1
- 1
README.rst Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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'))

Yükleniyor…
İptal
Kaydet