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