diff --git a/states/transmission/config.sls b/states/transmission/config.sls index 7610479..145e944 100644 --- a/states/transmission/config.sls +++ b/states/transmission/config.sls @@ -23,7 +23,7 @@ transmission-settings-directory: transmission-settings-master: file.managed: - name: /etc/transmission-daemon/settings.json.master - - source: salt://transmission/settings.json.j2 + - source: salt://transmission/templates/settings.json.j2 - user: root - group: debian-transmission - mode: 0660 diff --git a/states/transmission/settings.json.j2 b/states/transmission/templates/settings.json.j2 similarity index 68% rename from states/transmission/settings.json.j2 rename to states/transmission/templates/settings.json.j2 index 2121fce..d4405d5 100644 --- a/states/transmission/settings.json.j2 +++ b/states/transmission/templates/settings.json.j2 @@ -1,2 +1,2 @@ {%- from "transmission/map.jinja" import transmission with context -%} -{{ transmission.config|tojson }} \ No newline at end of file +{{ transmission.config|tojson }}