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

View File

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

View File

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