Przeglądaj źródła

Merge pull request #2 from omltorg/ArchLinux_support

Add ArchLinux support
fixconfig
Niels Abspoel 7 lat temu
rodzic
commit
d6d77cd8c3
2 zmienionych plików z 15 dodań i 1 usunięć
  1. +1
    -1
      README.rst
  2. +14
    -0
      chrony/map.jinja

+ 1
- 1
README.rst Wyświetl plik

@@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz