Saltstack Official Chrony Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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