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.

33 satır
791B

  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 %}