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.

50 lines
1.4KB

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