Add missing '}'

This commit is contained in:
Patrik Holmqvist 2024-12-19 15:46:16 +01:00
parent 73e5eb3486
commit ecbeee89a3
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -842,17 +842,18 @@ class sunetops {
# OS hardening # OS hardening
# For now we skip this on ubuntu24, SC-2522 # For now we skip this on ubuntu24, SC-2522
if ($facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '22.04') <= 0 ){ if ($facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '22.04') <= 0 ){
if $facts['networking']['hostname'] =~ /kvm/ { if $facts['networking']['hostname'] =~ /kvm/ {
class {'bastion': class {'bastion':
fstab_fix_shm => false, fstab_fix_shm => false,
sysctl_net_hardening => false, sysctl_net_hardening => false,
} }
} else { } else {
class {'bastion': class {'bastion':
fstab_fix_shm => false, fstab_fix_shm => false,
fixperms_paranoia => true, fixperms_paranoia => true,
} }
} }
}
} }
class konsulter { class konsulter {