updated transmission state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-03-10 18:39:01 +01:00
parent a5677fc8b0
commit cdb142d466
3 changed files with 13 additions and 10 deletions

View File

@ -5,8 +5,8 @@ transmission-dl-dir:
file.directory:
- name: {{ transmission['config']['download-dir'] }}
- makedirs: true
- user: debian-transmission
- group: debian-transmission
- user: {{ transmission.user }}
- group: {{ transmission.group }}
- mode: 755
- recurse:
- user
@ -24,8 +24,8 @@ transmission-settings-master:
file.managed:
- name: /etc/transmission-daemon/settings.json.master
- source: salt://transmission/templates/settings.json.j2
- user: root
- group: debian-transmission
- user: {{ transmission.user }}
- group: {{ transmission.group }}
- mode: 0660
- template: jinja
- watch_in:
@ -35,7 +35,7 @@ transmission-settings:
file.managed:
- name: /etc/transmission-daemon/settings.json
- source: salt://transmission/templates/settings.json.j2
- user: root
- group: debian-transmission
- user: {{ transmission.user }}
- group: {{ transmission.group }}
- mode: 0660
- template: jinja

View File

@ -1,6 +1,12 @@
---
transmission:
url: https://torrent.example.com
user: debian-transmission
group: debian-transmission
pkgs:
- transmission-cli
- transmission-common
- transmission-daemon
config:
alt-speed-down: 50
alt-speed-enabled: false

View File

@ -3,7 +3,4 @@
transmission-install-server:
pkg.installed:
- pkgs:
- transmission-cli
- transmission-common
- transmission-daemon
- pkgs: {{ transmission.pkgs }}