feat: add prowlarr module
- add media::prowlarr role
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
class prowlarr::config (
|
||||
$user = $prowlarr::params::user,
|
||||
$group = $prowlarr::params::group,
|
||||
$base_path = $prowlarr::params::base_path,
|
||||
$bind_address = $prowlarr::bind_address,
|
||||
$port = $prowlarr::port,
|
||||
$ssl_port = $prowlarr::ssl_port,
|
||||
$enable_ssl = $prowlarr::enable_ssl,
|
||||
$launch_browser = $prowlarr::launch_browser,
|
||||
$api_key = $prowlarr::api_key,
|
||||
$authentication_method = $prowlarr::authentication_method,
|
||||
$authentication_required = $prowlarr::authentication_required,
|
||||
$branch = $prowlarr::branch,
|
||||
$log_level = $prowlarr::log_level,
|
||||
$ssl_cert_path = $prowlarr::ssl_cert_path,
|
||||
$ssl_cert_password = $prowlarr::ssl_cert_password,
|
||||
$url_base = $prowlarr::url_base,
|
||||
$instance_name = $prowlarr::instance_name,
|
||||
) {
|
||||
file { "${base_path}/config.xml":
|
||||
ensure => file,
|
||||
content => template('prowlarr/prowlarr_config.xml.erb'),
|
||||
owner => $user,
|
||||
group => $group,
|
||||
mode => '0644',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user