Saltstack Official Chrony Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6KB

  1. # OS parameters overriding common defaults(.yaml)
  2. Debian:
  3. service: chrony
  4. config: /etc/chrony/chrony.conf
  5. ntpservers: [ '0.debian.pool.ntp.org',
  6. '1.debian.pool.ntp.org',
  7. '2.debian.pool.ntp.org',
  8. '3.debian.pool.ntp.org', ]
  9. options: offline minpoll 8
  10. keyfile: /etc/chrony/chrony.keys
  11. driftfile: /var/lib/chrony/chrony.drift
  12. otherparams: [ 'log tracking measurements statistics',
  13. 'maxupdateskew 100.0',
  14. 'dumponexit',
  15. 'dumpdir /var/lib/chrony',
  16. 'commandkey 1',
  17. 'local stratum 10',
  18. 'rtconutc', ]
  19. RedHat:
  20. ntpservers: [ '0.centos.pool.ntp.org',
  21. '1.centos.pool.ntp.org',
  22. '2.centos.pool.ntp.org',
  23. '3.centos.pool.ntp.org', ]
  24. otherparams: [ 'rtcsync',
  25. 'makestep 10 3',
  26. 'stratumweight 0',
  27. 'bindcmdaddress 127.0.0.1',
  28. 'bindcmdaddress ::1',
  29. 'commandkey 1',
  30. 'generatecommandkey',
  31. 'noclientlog',
  32. 'logchange 0.5', ]
  33. Arch:
  34. ntpservers: [ '0.arch.pool.ntp.org',
  35. '1.arch.pool.ntp.org',
  36. '2.arch.pool.ntp.org' ]
  37. otherparams: [ 'rtconutc',
  38. 'rtcsync', ]
  39. Suse:
  40. ntpservers: [ '0.arch.opensuse.ntp.org',
  41. '1.arch.opensuse.ntp.org',
  42. '2.arch.opensuse.ntp.org',
  43. '3.opensuse.pool.ntp.org', ]
  44. otherparams: [ 'rtcsync',
  45. 'makestep 10 3',
  46. 'maxdistance 6',
  47. 'logchange 0.1', ]