Browse Source

Merge pull request #2 from omltorg/ArchLinux_support

Add ArchLinux support
tags/v0.2.0
Niels Abspoel 7 years ago
parent
commit
d6d77cd8c3
2 changed files with 15 additions and 1 deletions
  1. +1
    -1
      README.rst
  2. +14
    -0
      chrony/map.jinja

+ 1
- 1
README.rst View File

@@ -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 View File

@@ -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…
Cancel
Save