Bugifx
This commit is contained in:
parent
1572ff2bc3
commit
9cc9ec26d0
1 changed files with 1 additions and 3 deletions
|
@ -54,7 +54,7 @@ class soc::rsyslog::server(
|
||||||
subscribe => File['/etc/rsyslog.d/60-remote.conf'],
|
subscribe => File['/etc/rsyslog.d/60-remote.conf'],
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($tcp_port or $udp_port) {
|
if ($tcp_port or $udp_port or $relp_port) {
|
||||||
if ($udp_port) {
|
if ($udp_port) {
|
||||||
sunet::nftables::allow { "allow-syslog-udp-${udp_port}":
|
sunet::nftables::allow { "allow-syslog-udp-${udp_port}":
|
||||||
from => $udp_client,
|
from => $udp_client,
|
||||||
|
@ -71,8 +71,6 @@ class soc::rsyslog::server(
|
||||||
port => $tcp_port
|
port => $tcp_port
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/rsyslog.d/50-local.conf':
|
file { '/etc/rsyslog.d/50-local.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
|
|
Loading…
Add table
Reference in a new issue