Defined Type: query_service::logback_config
- Defined in:
- modules/query_service/manifests/logback_config.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'modules/query_service/manifests/logback_config.pp', line 2
define query_service::logback_config (
String $pattern,
String $deploy_name,
Stdlib::Unixpath $log_dir,
Wmflib::Ensure $ensure = 'present',
Stdlib::Port $logstash_logback_port = 11514,
Boolean $evaluators = false,
Boolean $sparql = false,
Boolean $throttle = false,
) {
file { "/etc/${deploy_name}/logback-${title}.xml":
ensure => $ensure,
content => template('query_service/logback.xml.erb'),
owner => 'root',
group => 'root',
mode => '0644',
}
}
|