Saltstack Official Chrony Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

osfamilymap.yaml 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. Suse:
  61. confd: /etc/chrony.d
  62. Gentoo:
  63. package: net-misc/chrony
  64. config: /etc/chrony/chrony.conf
  65. ntpservers:
  66. - '0.gentoo.pool.ntp.org'
  67. - '1.gentoo.pool.ntp.org'
  68. - '2.gentoo.pool.ntp.org'
  69. - '3.gentoo.pool.ntp.org'
  70. otherparams:
  71. - 'rtconutc'
  72. - 'rtcsync'
  73. Arch:
  74. ntpservers:
  75. - '0.arch.pool.ntp.org'
  76. - '1.arch.pool.ntp.org'
  77. - '2.arch.pool.ntp.org'
  78. otherparams:
  79. - 'rtconutc'
  80. - 'rtcsync'