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.

pillar.example 1.4KB

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