Saltstack Official Chrony Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

45 lines
1.2KB

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