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

25 行
612B

  1. ########################################################################
  2. # File managed by Salt at <{{ source }}>.
  3. # Your changes will be overwritten.
  4. ########################################################################
  5. {% for server in chrony.ntpservers -%}
  6. server {{ server }} {{ chrony.options }}
  7. {% endfor %}
  8. keyfile {{ chrony.keyfile }}
  9. driftfile {{ chrony.driftfile }}
  10. {% if chrony.allow is defined %}
  11. {% for allowed in chrony.get('allow', []) -%}
  12. allow {{ allowed }}
  13. {% endfor %}
  14. {%- endif %}
  15. logdir {{ chrony.logdir }}
  16. {% for param in chrony.get('otherparams', []) -%}
  17. {{ param }}
  18. {% endfor %}