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.

28 lines
817B

  1. # Default lookup dictionary
  2. chrony:
  3. package: chrony
  4. service: chronyd
  5. config: /etc/chrony.conf
  6. config_src: salt://{{ slspath }}/files/chrony_config
  7. ntpservers: [ '0.us.pool.ntp.org',
  8. '1.us.pool.ntp.org',
  9. '2.us.pool.ntp.org',
  10. '3.us.pool.ntp.org'
  11. ]
  12. options: iburst
  13. logdir: /var/log/chrony
  14. keyfile: /etc/chrony.keys
  15. driftfile: /var/lib/chrony/drift
  16. otherparams: [ 'rtcsync',
  17. 'makestep 10 3',
  18. 'stratumweight 0',
  19. 'bindcmdaddress 127.0.0.1',
  20. 'bindcmdaddress ::1',
  21. 'commandkey 1',
  22. 'generatecommandkey',
  23. 'noclientlog',
  24. 'logchange 0.5',
  25. ]
  26. allow: [ '10/8', '192.168/16', '172.16/12' ]