class readarr::config ( $user = $readarr::params::user, $group = $readarr::params::group, $base_path = $readarr::params::base_path, $bind_address = $readarr::bind_address, $port = $readarr::port, $ssl_port = $readarr::ssl_port, $enable_ssl = $readarr::enable_ssl, $launch_browser = $readarr::launch_browser, $api_key = $readarr::api_key, $authentication_method = $readarr::authentication_method, $authentication_required = $readarr::authentication_required, $branch = $readarr::branch, $log_level = $readarr::log_level, $ssl_cert_path = $readarr::ssl_cert_path, $ssl_cert_password = $readarr::ssl_cert_password, $url_base = $readarr::url_base, $instance_name = $readarr::instance_name, ) { file { "${base_path}/config.xml": ensure => file, content => template('readarr/readarr_config.xml.erb'), owner => $user, group => $group, mode => '0644', } }