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.

chrony_config 485B

9 anni fa
9 anni fa
9 anni fa
9 anni fa
123456789101112131415161718192021
  1. {% from "chrony/map.jinja" import chrony as config with context %}
  2. # This file is managed by salt
  3. {% for server in config.ntpservers -%}
  4. server {{ server }} {{ config.options }}
  5. {% endfor %}
  6. keyfile {{ config.keyfile }}
  7. driftfile {{ config.driftfile }}
  8. {% if config.allow is defined %}
  9. {% for allowed in config.get('allow', []) -%}
  10. allow {{ allowed }}
  11. {% endfor %}
  12. {%- endif %}
  13. logdir {{ config.logdir }}
  14. {% for param in config.get('otherparams', []) -%}
  15. {{ param }}
  16. {% endfor %}