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
# 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['networking']['hostname'] =~ /kvm/ {
class {'bastion':
fstab_fix_shm => false,
sysctl_net_hardening => false,
}
} else {
class {'bastion':
fstab_fix_shm => false,
fixperms_paranoia => true,
}
}
if $facts['networking']['hostname'] =~ /kvm/ {
class {'bastion':
fstab_fix_shm => false,
sysctl_net_hardening => false,
}
} else {
class {'bastion':
fstab_fix_shm => false,
fixperms_paranoia => true,
}
}
}
}
class konsulter {