Saltstack Official Chrony Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pillar.example 803B

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