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.

48 line
1.4KB

  1. chrony:
  2. ntpservers:
  3. - '0.debian.pool.ntp.org'
  4. - '1.centos.pool.ntp.org'
  5. - '2.arch.pool.ntp.org'
  6. - '3.gentoo.pool.ntp.org'
  7. pool:
  8. - '0.debian.pool.ntp.org'
  9. - '1.centos.pool.ntp.org'
  10. - '2.arch.pool.ntp.org'
  11. - '3.gentoo.pool.ntp.org'
  12. allow:
  13. - '10/8'
  14. - '192.168/16'
  15. - '172.16/12'
  16. otherparams:
  17. - 'rtcsync'
  18. - 'makestep 10 3'
  19. - 'stratumweight 0'
  20. - 'bindcmdaddress 127.0.0.1'
  21. - 'bindcmdaddress ::1'
  22. - 'commandkey 1'
  23. - 'generatecommandkey'
  24. - 'noclientlog'
  25. - 'logchange 0.5'
  26. # tofs:
  27. # # The files_switch key serves as a selector for alternative
  28. # # directories under the formula files directory. See TOFS pattern
  29. # # doc for more info.
  30. # # Note: Any value not evaluated by `config.get` will be used literally.
  31. # # This can be used to set custom paths, as many levels deep as required.
  32. # files_switch:
  33. # - any/path/can/be/used/here
  34. # - id
  35. # - osfinger
  36. # - os
  37. # - os_family
  38. # # All aspects of path/file resolution are customisable using the options below.
  39. # # This is unnecessary in most cases; there are sensible defaults.
  40. # path_prefix: template_alt
  41. # dirs:
  42. # files: files_alt
  43. # default: default_alt
  44. # source_files:
  45. # chrony-config-file-file-managed:
  46. # - 'chrony_alt.conf'
  47. # - 'chrony_alt.conf.jinja'