This commit is contained in:
Johan Björklund 2025-02-21 14:03:23 +01:00
parent 1572ff2bc3
commit 9cc9ec26d0
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -54,7 +54,7 @@ class soc::rsyslog::server(
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) {
sunet::nftables::allow { "allow-syslog-udp-${udp_port}":
from => $udp_client,
@ -71,8 +71,6 @@ class soc::rsyslog::server(
port => $tcp_port
}
}
}
file { '/etc/rsyslog.d/50-local.conf':
ensure => file,
mode => '0644',