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.

22 satır
448B

  1. {% from "chrony/map.jinja" import chrony with context %}
  2. chrony:
  3. pkg.installed:
  4. - name: {{ chrony.package }}
  5. service.running:
  6. - enable: True
  7. - name: {{ chrony.service }}
  8. - require:
  9. - pkg: {{ chrony.package }}
  10. chrony_config:
  11. file.managed:
  12. - name: {{ chrony.config }}
  13. - source: {{ chrony.config_src }}
  14. - template: jinja
  15. - user: root
  16. - mode: 644
  17. - watch_in:
  18. - service: {{ chrony.service }}