Add missing '}'
This commit is contained in:
parent
73e5eb3486
commit
ecbeee89a3
1 changed files with 12 additions and 11 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue