This will setup and install Transmission-Daemon.
Installalation includes:
- Transmission source code
- Transmission CLI
- Transmission Daemon
- Transmission GTK
Requires:
- *nix operating system
- Nanliu/staging module to stage install binaries
See transmission documentation for variable definitions.
https://trac.transmissionbt.com/wiki/EditConfigFiles. Note: Variable names replace dashes with underscores. For example, to set alt-speed-down
, pass parameter alt_speed_down
.
transd
Default: /var/lib/transmissiontransuser
Default: transmissiontransgroup
Default: transmission
Install transmission:
include transmission
Install transmission with custom parameters:
class { 'transmission':
rpc-enabled => true,
rpc-password => '{5bf3cd57109da5468fe6519c4ead6f281fbacff8W366dVGr',
rpc-port => '9090',
}
The transmission-daemon overwrites a plaintext password in settings.json with a hashed version. The hash function they use is custom. For now, you must use the hash password in your parameters to prevent a constant conflict between the Puppet agent and the transmission-daemon. I will need to add a custom function to mimic the function in transmission to hash the password.