28 lines
775 B
Puppet
28 lines
775 B
Puppet
# sonarr params
|
|
class sonarr::params (
|
|
$packages = [
|
|
'mediainfo',
|
|
'libzen',
|
|
'libmediainfo',
|
|
'gettext',
|
|
'sqlite.x86_64',
|
|
'par2cmdline',
|
|
'python3-feedparser',
|
|
'python3-configobj',
|
|
'python3-cheetah',
|
|
'python3-dbus',
|
|
'libxslt-devel'
|
|
],
|
|
$user = 'sonarr',
|
|
$base_path = '/opt/sonarr',
|
|
$install_path = '/opt/sonarr/bin',
|
|
$config_folder = "/home/${user}/.config",
|
|
$app_folder = "/home/${user}/.config/Sonarr",
|
|
$archive_version = '4.0.5',
|
|
$archive_name = 'Sonarr.main.linux-x64.tar.gz',
|
|
$archive_url = "https://git.query.consul/api/packages/unkinben/generic/sonarr/${archive_version}/",
|
|
$executable = 'Sonarr',
|
|
$service_enable = true,
|
|
$service_name = 'sonarr',
|
|
){}
|