Puppet Class: profile::rsyslog

Defined in:
modules/profile/manifests/rsyslog.pp

Summary

manage rsyslog global file

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • source

    The location of the source file for rsyslog

  • logrotate_source (Stdlib::Filesource) (defaults to: lookup('profile::rsyslog::logrotate_source'))


4
5
6
7
8
9
10
11
12
13
# File 'modules/profile/manifests/rsyslog.pp', line 4

class profile::rsyslog (
    Stdlib::Filesource $logrotate_source = lookup('profile::rsyslog::logrotate_source'),
) {
    class { 'rsyslog': }

    logrotate::conf { 'rsyslog':
        ensure => present,
        source => $logrotate_source,
    }
}