Defined Type: query_service::logback_config

Defined in:
modules/query_service/manifests/logback_config.pp

Overview

Parameters:

  • pattern (String)
  • deploy_name (String)
  • log_dir (Stdlib::Unixpath)
  • logstash_logback_port (Stdlib::Port) (defaults to: 11514)
  • evaluators (Boolean) (defaults to: false)
  • sparql (Boolean) (defaults to: false)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/query_service/manifests/logback_config.pp', line 1

define query_service::logback_config (
    String $pattern,
    String $deploy_name,
    Stdlib::Unixpath $log_dir,
    Stdlib::Port $logstash_logback_port = 11514,
    Boolean $evaluators = false,
    Boolean $sparql = false,
) {
    file { "/etc/${deploy_name}/logback-${title}.xml":
        ensure  => present,
        content => template('query_service/logback.xml.erb'),
        owner   => 'root',
        group   => 'root',
        mode    => '0644',
    }
}