This commit is contained in:
Shaun Rampersad 2016-03-07 15:25:04 +02:00
Родитель cfa3db9fc1
Коммит 286011caff
3 изменённых файлов: 52 добавлений и 49 удалений

Просмотреть файл

@ -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') %>