Puppet Class: mit_krb5::logging

Defined in:
manifests/logging.pp

Overview

Class: mit_krb5::loggin

Add logging section to krb5.conf

Parameters

As in the main class, only specified parameters will appear in the configuration. System defaults are used for absent parameters.

admin_server

These entries specify how the administrative server is to perform its logging.

default

These entries specify how to perform logging in the absence of explicit specifications otherwise.

kdc

These entries specify how the KDC is to perform its logging.

Examples

class { 'mit_krb5::logging':
  default      = 'FILE:/var/log/krb5libs.log',
  admin_server = 'FILE:/var/log/kadmind.log',
  kdc          = 'FILE:/var/log/krb5kdc.log'
}

Authors

Patrick Mooney <patrick.f.mooney@gmail.com>

Copyright 2013 Patrick Mooney.

Parameters:

  • default (Any) (defaults to: '')
  • admin_server (Any) (defaults to: '')
  • kdc (Any) (defaults to: '')


37
38
39
40
41
42
43
44
45
46
47
48
# File 'manifests/logging.pp', line 37

class mit_krb5::logging(
  $default      = '',
  $admin_server = '',
  $kdc          = ''
) {
  include mit_krb5
  concat::fragment { 'mit_krb5::logging':
    target  => $mit_krb5::krb5_conf_path,
    order   => '00logging',
    content => template('mit_krb5/logging.erb'),
  }
}