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.

30 lines
588B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. chrony:
  5. package: chrony
  6. service:
  7. name: chronyd
  8. config: /etc/chrony.conf
  9. ntpservers:
  10. - '0.us.pool.ntp.org'
  11. - '1.us.pool.ntp.org'
  12. - '2.us.pool.ntp.org'
  13. - '3.us.pool.ntp.org'
  14. options: iburst
  15. logdir: /var/log/chrony
  16. keyfile: /etc/chrony.keys
  17. driftfile: /var/lib/chrony/drift
  18. otherparams:
  19. - 'rtcsync'
  20. - 'makestep 10 3'
  21. - 'stratumweight 0'
  22. - 'bindcmdaddress 127.0.0.1'
  23. - 'bindcmdaddress ::1'
  24. - 'noclientlog'
  25. - 'logchange 0.5'
  26. allow:
  27. - '10/8'
  28. - '192.168/16'
  29. - '172.16/12'