Add support for
This commit is contained in:
Родитель
cfa3db9fc1
Коммит
286011caff
|
@ -50,7 +50,8 @@ class rsyslog (
|
|||
$non_kernel_facility = $rsyslog::params::non_kernel_facility,
|
||||
$omit_local_logging = $rsyslog::params::omit_local_logging,
|
||||
$im_journal_ratelimit_interval = $rsyslog::params::im_journal_ratelimit_interval,
|
||||
$im_journal_ratelimit_burst = $rsyslog::params::im_journal_ratelimit_burst
|
||||
$im_journal_ratelimit_burst = $rsyslog::params::im_journal_ratelimit_burst,
|
||||
$im_journal_ignore_previous_messages = $rsyslog::params::im_journal_ignore_previous_messages
|
||||
) inherits rsyslog::params {
|
||||
class { 'rsyslog::install': }
|
||||
class { 'rsyslog::config': }
|
||||
|
|
|
@ -125,6 +125,7 @@ class rsyslog::params {
|
|||
$omit_local_logging = true
|
||||
$im_journal_ratelimit_interval = '600'
|
||||
$im_journal_ratelimit_burst = '20000'
|
||||
$im_journal_ignore_previous_messages = 'off'
|
||||
} else {
|
||||
$rsyslog_package_name = 'rsyslog5'
|
||||
$mysql_package_name = 'rsyslog5-mysql'
|
||||
|
|
|
@ -71,6 +71,7 @@ $OmitLocalLogging on
|
|||
<% if scope.lookupvar('rsyslog::im_journal_statfile') -%>
|
||||
$IMJournalStateFile <%=scope.lookupvar('rsyslog::im_journal_statfile') %>
|
||||
<% end %>
|
||||
$IMJournalStateFile <%=scope.lookupvar('rsyslog::im_journal_ignore_previous_messages') %>
|
||||
$imjournalRatelimitInterval <%=scope.lookupvar('rsyslog::im_journal_ratelimit_interval') %>
|
||||
$imjournalRatelimitBurst <%=scope.lookupvar('rsyslog::im_journal_ratelimit_burst') %>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче