From 2acc286802c3079e8360ed5090736b60dce128dd Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:05:27 +0100 Subject: [PATCH] updated transmission state --- states/transmission/config.sls | 2 +- states/transmission/{ => templates}/settings.json.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename states/transmission/{ => templates}/settings.json.j2 (68%) 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 }}