Saltstack Official Chrony Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

66 行
2.0KB

  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. Gentoo:
  40. package: net-misc/chrony
  41. service: chronyd
  42. config: /etc/chrony/chrony.conf
  43. ntpservers: [ '0.gentoo.pool.ntp.org',
  44. '1.gentoo.pool.ntp.org',
  45. '2.gentoo.pool.ntp.org',
  46. '3.gentoo.pool.ntp.org', ]
  47. options: iburst
  48. driftfile: /var/lib/chrony/drift
  49. otherparams: [ 'rtconutc',
  50. 'rtcsync', ]
  51. Suse:
  52. ntpservers: [ '0.arch.opensuse.ntp.org',
  53. '1.arch.opensuse.ntp.org',
  54. '2.arch.opensuse.ntp.org',
  55. '3.opensuse.pool.ntp.org', ]
  56. otherparams: [ 'rtcsync',
  57. 'makestep 10 3',
  58. 'maxdistance 6',
  59. 'logchange 0.1', ]