|
|
@@ -3,22 +3,30 @@ |
|
|
|
# Your changes will be overwritten. |
|
|
|
######################################################################## |
|
|
|
|
|
|
|
{%- if chrony.ntpservers is defined %} |
|
|
|
{% for server in chrony.ntpservers -%} |
|
|
|
server {{ server }} {{ chrony.options }} |
|
|
|
{% endfor %} |
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
{%- if chrony.pool is defined %} |
|
|
|
{% for pool in chrony.pool -%} |
|
|
|
pool {{ pool }} {{ chrony.options }} |
|
|
|
{% endfor %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
keyfile {{ chrony.keyfile }} |
|
|
|
|
|
|
|
driftfile {{ chrony.driftfile }} |
|
|
|
|
|
|
|
{% if chrony.allow is defined %} |
|
|
|
{% for allowed in chrony.get('allow', []) -%} |
|
|
|
{% for allowed in chrony.get('allow', {}) -%} |
|
|
|
allow {{ allowed }} |
|
|
|
{% endfor %} |
|
|
|
{%- endif %} |
|
|
|
|
|
|
|
logdir {{ chrony.logdir }} |
|
|
|
|
|
|
|
{% for param in chrony.get('otherparams', []) -%} |
|
|
|
{% for param in chrony.get('otherparams', {}) -%} |
|
|
|
{{ param }} |
|
|
|
{% endfor %} |