--- {%- from "transmission/map.jinja" import transmission with context %} transmission-dl-dir: file.directory: - name: {{ transmission['config']['download-dir'] }} - makedirs: True - user: debian-transmission - group: debian-transmission - mode: 755 - recurse: - user - group - mode transmission-settings-directory: file.directory: - name: /etc/transmission-daemon - user: root - group: debian-transmission - mode: 770 transmission-settings-master: file.managed: - name: /etc/transmission-daemon/settings.json.master - source: salt://transmission/settings.json.j2 - user: root - group: debian-transmission - mode: 0660 - template: jinja - watch_in: - service: transmission-service transmission-settings: file.managed: - name: /etc/transmission-daemon/settings.json - source: salt://transmission/settings.json.j2 - user: root - group: debian-transmission - mode: 0660 - template: jinja