|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- ########################################################################
- # File managed by Salt at <{{ source }}>.
- # Your changes will be overwritten.
- ########################################################################
-
- {%- if chrony.ntpservers is defined %}
- {% for server in chrony.ntpservers -%}
- {% if server is mapping %}
- server {{ server.name }} {{ server.options | default(chrony.options) }}
- {% else %}
- server {{ server }} {{ chrony.options }}
- {% endif %}
- {% endfor %}
- {%- endif %}
-
- {%- if chrony.pool is defined %}
- {% for pool in chrony.pool -%}
- {% if pool is mapping %}
- pool {{ pool.name }} {{ pool.options | default(chrony.options) }}
- {% else %}
- pool {{ pool }} {{ chrony.options }}
- {% endif %}
- {% endfor %}
- {% endif %}
-
- keyfile {{ chrony.keyfile }}
-
- driftfile {{ chrony.driftfile }}
-
- {% if chrony.allow is defined %}
- {% for allowed in chrony.get('allow', {}) -%}
- allow {{ allowed }}
- {% endfor %}
- {%- endif %}
-
- logdir {{ chrony.logdir }}
-
- {% for param in chrony.get('otherparams', {}) -%}
- {{ param }}
- {% endfor %}
|