Saltstack Official Chrony Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

chrony.conf.jinja 791B

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