Saltstack Official Chrony Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. #
  4. # Setup variables using grains['os_family'] based logic.
  5. # You just need to add the key:values for an `os_family` that differ
  6. # from `defaults.yaml`.
  7. # Only add an `os_family` which is/will be supported by the formula
  8. #
  9. # If you do not need to provide defaults via the `os_family` grain,
  10. # you will need to provide at least an empty dict in this file, e.g.
  11. # osfamilymap: {}
  12. ---
  13. Debian:
  14. service:
  15. name: chrony
  16. config: /etc/chrony/chrony.conf
  17. ntpservers:
  18. - '0.debian.pool.ntp.org'
  19. - '1.debian.pool.ntp.org'
  20. - '2.debian.pool.ntp.org'
  21. - '3.debian.pool.ntp.org'
  22. options: offline minpoll 8
  23. keyfile: /etc/chrony/chrony.keys
  24. driftfile: /var/lib/chrony/chrony.drift
  25. otherparams:
  26. - 'log tracking measurements statistics'
  27. - 'maxupdateskew 100.0'
  28. - 'dumponexit'
  29. - 'dumpdir /var/lib/chrony'
  30. - 'commandkey 1'
  31. - 'local stratum 10'
  32. - 'rtconutc'
  33. RedHat:
  34. ntpservers:
  35. - '0.centos.pool.ntp.org'
  36. - '1.centos.pool.ntp.org'
  37. - '2.centos.pool.ntp.org'
  38. - '3.centos.pool.ntp.org'
  39. otherparams:
  40. - 'rtcsync'
  41. - 'makestep 10 3'
  42. - 'stratumweight 0'
  43. - 'bindcmdaddress 127.0.0.1'
  44. - 'bindcmdaddress ::1'
  45. - 'commandkey 1'
  46. - 'generatecommandkey'
  47. - 'noclientlog'
  48. - 'logchange 0.5'
  49. openSUSE:
  50. ntpservers:
  51. - '0.opensuse.pool.ntp.org'
  52. - '1.opensuse.pool.ntp.org'
  53. - '2.opensuse.pool.ntp.org'
  54. - '3.opensuse.pool.ntp.org'
  55. otherparams:
  56. - 'rtcsync'
  57. - 'makestep 10 3'
  58. - 'maxdistance 6'
  59. - 'logchange 0.1'
  60. Gentoo:
  61. package: net-misc/chrony
  62. config: /etc/chrony/chrony.conf
  63. ntpservers:
  64. - '0.gentoo.pool.ntp.org'
  65. - '1.gentoo.pool.ntp.org'
  66. - '2.gentoo.pool.ntp.org'
  67. - '3.gentoo.pool.ntp.org'
  68. otherparams:
  69. - 'rtconutc'
  70. - 'rtcsync'
  71. Arch:
  72. ntpservers:
  73. - '0.arch.pool.ntp.org'
  74. - '1.arch.pool.ntp.org'
  75. - '2.arch.pool.ntp.org'
  76. otherparams:
  77. - 'rtconutc'
  78. - 'rtcsync'