Bugfixes.
This commit is contained in:
parent
822c8d26ba
commit
e4074d2679
1 changed files with 6 additions and 6 deletions
|
@ -20,7 +20,7 @@ class soc::rsyslog(
|
||||||
file { '/etc/rsyslog.conf':
|
file { '/etc/rsyslog.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('sunet/rsyslog/rsyslog.conf.erb'),
|
content => template('soc/rsyslog/rsyslog.conf.erb'),
|
||||||
require => Package['rsyslog'],
|
require => Package['rsyslog'],
|
||||||
notify => Service['rsyslog']
|
notify => Service['rsyslog']
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ class soc::rsyslog(
|
||||||
file { '/etc/rsyslog.d/50-default.conf':
|
file { '/etc/rsyslog.d/50-default.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template("sunet/rsyslog/${default_template}"),
|
content => template("soc/rsyslog/${default_template}"),
|
||||||
require => Package['rsyslog'],
|
require => Package['rsyslog'],
|
||||||
notify => Service['rsyslog']
|
notify => Service['rsyslog']
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ class soc::rsyslog(
|
||||||
file { '/etc/rsyslog.d/60-remote.conf':
|
file { '/etc/rsyslog.d/60-remote.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('sunet/rsyslog/rsyslog-remote.conf.erb'),
|
content => template('soc/rsyslog/rsyslog-remote.conf.erb'),
|
||||||
require => Package['rsyslog'],
|
require => Package['rsyslog'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ class soc::rsyslog(
|
||||||
file { '/etc/rsyslog.d/50-local.conf':
|
file { '/etc/rsyslog.d/50-local.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('sunet/rsyslog/rsyslog-local.conf.erb'),
|
content => template('soc/rsyslog/rsyslog-local.conf.erb'),
|
||||||
require => Package['rsyslog'],
|
require => Package['rsyslog'],
|
||||||
notify => Service['rsyslog']
|
notify => Service['rsyslog']
|
||||||
}
|
}
|
||||||
|
@ -103,14 +103,14 @@ class soc::rsyslog(
|
||||||
file { '/etc/logrotate.d/rsyslog':
|
file { '/etc/logrotate.d/rsyslog':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('sunet/rsyslog/rsyslog.logrotate.erb'),
|
content => template('soc/rsyslog/rsyslog.logrotate.erb'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($single_log_file == true and $facts['fail2ban_is_enabled'] == 'yes') {
|
if ($single_log_file == true and $facts['fail2ban_is_enabled'] == 'yes') {
|
||||||
file { '/etc/fail2ban/jail.d/sshd-rsyslog-single-logfile.conf':
|
file { '/etc/fail2ban/jail.d/sshd-rsyslog-single-logfile.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('sunet/rsyslog/fail2ban-ssh-syslog.conf.erb'),
|
content => template('soc/rsyslog/fail2ban-ssh-syslog.conf.erb'),
|
||||||
notify => Service['fail2ban'],
|
notify => Service['fail2ban'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue